We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/tpoisonooo/how-to-optimize-gemm/blob/master/cuda/MMult_cuda_12.cu: 20,21 I'm a beginner of CUDA&&PTX, I want to know what does these two PTX use for? "{.reg .pred p;\n" "mov.b32 %0, 0;\n" is it useless code?
The text was updated successfully, but these errors were encountered:
For .reg .pred p; yes it is useless. The code is originally used for predicate guard, to handle conditional execution.
.reg .pred p;
mov.b32 %0, 0 is used for clean reg. If you do not like it, just remove it.
mov.b32 %0, 0
Sorry, something went wrong.
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html
thank you
No branches or pull requests
https://github.com/tpoisonooo/how-to-optimize-gemm/blob/master/cuda/MMult_cuda_12.cu: 20,21
I'm a beginner of CUDA&&PTX, I want to know what does these two PTX use for?
"{.reg .pred p;\n"
"mov.b32 %0, 0;\n"
is it useless code?
The text was updated successfully, but these errors were encountered: