ROCm / HIP

HIP: C++ Heterogeneous-Compute Interface for Portability

Home Page:https://rocmdocs.amd.com/projects/HIP/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

return value of the device property

jinz2014 opened this issue · 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

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