-
Notifications
You must be signed in to change notification settings - Fork 522
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
Number of VGPRs and SGPRs vs. hipDeviceProp_t::regsPerBlock #3356
Comments
These are number of VGPR's per CU. It is eventually from: |
Hi @yxsamliu. Thanks a lot for your help! That's indeed exactly what I was looking for. In my code, I'm now retrieving the number of VGPRs and SGPRs from the comgr, by proceeding similarly as in the code in I found that most of the functions used in |
comgr was migrated from https://github.com/RadeonOpenCompute/ROCm-CompilerSupport You may open an issue there |
Closing the issue, since this is not related to HIP. |
I have a question about the member variable
regsPerBlock
of thestruct
hipDeviceProp_t
. The documentation indicates that this variable provides the "number of registers per block". My question is how to relate this number to the VGPRs and SGPRs? Is there a way to deduce these numbers separately? Thank you very much in advance.The text was updated successfully, but these errors were encountered: