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
Rewrite the kernel launches in pycuda.gpuarray to guard from passing None as an argument, or,
Modify Function.prepared_call to accept None as a valid argument.
Taking (1) would lead to an uglier implementation of GPUArray and taking (2) might lead to user mishaps that could be reflected as segfaults.
Maybe we could introduce another kw-only argument to prepared_call called accept_none which is False by default and if True, either doesn't launch the kernel or maps such arguments to 0.
Here's the MWE
Here's the error trace
The text was updated successfully, but these errors were encountered: