Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return value of the device property #3516

Closed
jinz2014 opened this issue Jun 6, 2024 · 2 comments
Closed

return value of the device property #3516

jinz2014 opened this issue Jun 6, 2024 · 2 comments

Comments

@jinz2014
Copy link

jinz2014 commented Jun 6, 2024

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
Copy link

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

@harkgill-amd
Copy link

Hi @jinz2014 , this issue is addressed in ROCm/clr@4b95e7b. Thanks for pointing this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants