-
Notifications
You must be signed in to change notification settings - Fork 23
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
How to read out predicter value? #36
Comments
You can use |
how to index the pred reg with this api ?the general reg rw api can be set with reg index |
The definition of this api is as above. how to parse the result? |
It reads out the entire predicate register and only the lower 8 bits ([P7 .. P0]) are used. |
I try to add the code, but read out as 0... |
If the predicate register is not used in the code or is set to 0, the result will be 0. |
hi dear @leiwen83 thank you |
It is a device function and should be called only in your instrumentation functions in the inject_func.cu file. |
Hi,
If I want to read a predicter value in the inject code, How could I did the coding?
Thx,
Lei
The text was updated successfully, but these errors were encountered: