ROCm / HIP

HIP: C++ Heterogeneous-Compute Interface for Portability
https://rocmdocs.amd.com/projects/HIP/
MIT License
3.54k stars 518 forks source link

return value of the device property #3516

Open jinz2014 opened 3 weeks ago

jinz2014 commented 3 weeks ago

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

harkgill-amd commented 2 weeks ago

Hi @jinz2014, an internal ticket has been created to investigate this issue. Thanks!