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
Hit this multiple times in different occasion. The worst is that it can manifest as a host code accessing device memory, crashing in non-obvious way for non GPU native coders.
Another example would be:
a_device_array=np.min(a_device_array , 0.0)
Here the coder mistake of using np.min instead of np.minumum leads to the generation of a reduction, which crashes because it thinks a_device_array can be host accessed
@alexnick83
In the following example, the storage types of the output arrays are well-inferred:
However, the map generated by
a + b
would have theDefault
schedule, which translates to a CPU map, which subsequently crashes.Additionally, the following code should probably fail gracefully, due to the output storage / computation schedule not being able to be inferred:
but it doesn't fail.
The text was updated successfully, but these errors were encountered: