how to use __as_b32
and __as_ptr_remote_dsmem
in my own cuda code?
#1260
Unanswered
hellboywyh
asked this question in
Q&A
Replies: 2 comments
-
The ptx_helper_functions header is inside an internal header with a reserved identifier. You should never include them on your own. Rather than that you should include the respective parent header, in this case |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh, is it possible that you are on windows and it has issues with path depth / length? Please see whether it helps if you move cccl to a different folder like C:/src/cccl |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use
![image](https://private-user-images.githubusercontent.com/33325753/295566010-950f7a4d-36e8-4586-9132-2f0b96fe031e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5Nzg4MjQsIm5iZiI6MTczODk3ODUyNCwicGF0aCI6Ii8zMzMyNTc1My8yOTU1NjYwMTAtOTUwZjdhNGQtMzZlOC00NTg2LTkxMzItMmYwYjk2ZmUwMzFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDAxMzUyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0MGMxM2IxNTM0ZmNmODQxM2VjM2MzMjcxZTIwZTlhZjkyNGM3YTJkOWMyNzg4NzZhNTY1ZGFmNzk4ZTAxMjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.736oRA9JOk6iaL787TufiZs71e-D74nBNCfau8dVXc8)
![image](https://private-user-images.githubusercontent.com/33325753/295566805-fb51da16-82ec-4f57-a64f-d5497c2d1215.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5Nzg4MjQsIm5iZiI6MTczODk3ODUyNCwicGF0aCI6Ii8zMzMyNTc1My8yOTU1NjY4MDUtZmI1MWRhMTYtODJlYy00ZjU3LWE2NGYtZDU0OTdjMmQxMjE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDAxMzUyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwMWFhZjBlZThjMzVmZTc5MzRhYThjZDBkM2ZkNGRhZTA5YzFiZjA0OTVjY2JkOTExZTBjMDE0OGZlMDFjZmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eoPPI8oXzIpPD8Xcvef-D10zdBjmaIOFtWPVjqLYW8k)
__as_b32
and__as_ptr_remote_dsmem
in my cuda code as follows:and I have added the including as follow:
#include<__cuda/ptx/ptx_helper_functions.h>
and I compile it with the option
-Icccl/libcudacxx/libcxx/include
then I got the following error:
Is there anyone can help to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions