You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's quite error prone. Example: If the kernel argument is e.g. float one need to pass 0.f instead of simply 0. In other words the data type has to match exactly. It would be nice to pass primitive/scalar variables by value in order to benefit from implicit conversion.
This discussion was converted from issue #691 on July 26, 2024 19:42.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It's quite error prone. Example: If the kernel argument is e.g.
float
one need to pass0.f
instead of simply0
. In other words the data type has to match exactly. It would be nice to pass primitive/scalar variables by value in order to benefit from implicit conversion.Beta Was this translation helpful? Give feedback.
All reactions