HIP icon indicating copy to clipboard operation
HIP copied to clipboard

return value of the device property

Open jinz2014 opened this issue 1 month ago • 1 comments

The return value of the following device property is zero. Thanks for your comments/suggestions.

hipDeviceProp_t deviceProp; hipGetDeviceProperties(&deviceProp, 0); size = deviceProp.sharedMemPerBlockOptin; printf("%zu\n", size);

HIP version is 6.0.3

jinz2014 avatar Jun 06 '24 23:06 jinz2014