Closed dennisai closed 7 years ago
Please see the CUDA DriverAPI documentation: http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__MEM.html#group__CUDA__MEM_1gcbe9b033f6c4de80f63cc6e58ed9a45a
ElementSizeBytes may be 4, 8 or 16 (since coalesced memory transactions are not possible on other data sizes).
ushort size is 2 bytes
Great thank you RoBik75!
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
?