- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the correct way to handle #include xxx.cuh file from a cuda kernel with the DPCT tool?
I have a single kernel.cu file that I a porting to sycl using DPCT that has a cuda include file, kernel.cuh. I seem to be getting a correct port, except the kernal.dp.cpp file keeps the "#include kernel.cuh"
I also seem to be having a problem with device constants such as
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
>>What is the correct way to handle #include xxx.cuh file from a cuda kernel with the DPCT tool?
Header files which are located in same directory of source files are migratable when specified by --in-root.
We can also use --extra-arg flag which is used to include header files explicitly.
For more details you can refer below link:
>> problem with device constants
Please try above methods during migration of header files(.cuh), if the issue still persists please provide us a sample reproducer and steps you have followed to migrate.
Thanks & Regards
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the information provided helped? If not, then could you please provide the above-mentioned details.
Thanks & Regards
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question
Thanks & Regards
Noorjahan.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page