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
addrspace
The llvm IR of nvptx targets should make use of the addrspace attributes to mark to which memory region a pointer points to.
The example in the LLVM's guide to PTX uses the addrspace(1) (global memory) on pointers that are used as kernel parameters.
addrspace(1)
More info about address spaces here
We should take a look at the LLVM IR that other cuda frontends (like clang) generate.
clang
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The llvm IR of nvptx targets should make use of the
addrspace
attributes to mark to which memory region a pointer points to.The example in the LLVM's guide to PTX uses the
addrspace(1)
(global memory) on pointers that are used as kernel parameters.More info about address spaces here
We should take a look at the LLVM IR that other cuda frontends (like
clang
) generate.The text was updated successfully, but these errors were encountered: