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
When I try to execute the following code, I get an ErrorInvalidValue exception.
CudaContext cudaContext = new CudaContext(CudaContext.GetMaxGflopsDeviceId());
CudaPitchedDeviceVariable<ushort> var = new CudaPitchedDeviceVariable<ushort>(
2048, 160);
I have tried with multiple parameters, such as (16, 16) for my width and height. It appears to work with float but not with ushort. Any idea why it doesn't support ushort?
The text was updated successfully, but these errors were encountered:
Hello,
When I try to execute the following code, I get an ErrorInvalidValue exception.
I have tried with multiple parameters, such as
(16, 16)
for my width and height. It appears to work withfloat
but not withushort
. Any idea why it doesn't supportushort
?The text was updated successfully, but these errors were encountered: