- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I wonder the case I am seeing is a DPCT limitation as there is no issue with NVCC. Essentially, I see that DPCT is having issue with complex data types. In below code snipped, I get an error described as below:
: error: no matching constructor for initialization of 'hpmc::hpmc_counters_t'
hpmc_counters_t result;
Any guidance as how to get this code through DPCT?
================================================
here is the code causing above error:
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you attach the complete source code of the files that you are trying to migrate?
I will try to reproduce this issue from my end and get back to you.
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, that would be helpful.
For inline functions, can you give it a try by providing this extra flag during DPCT migration: --extra-arg="-std=c++17"
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just a quick reminder to attach a small reproducer for your issue.
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul,
this turned out not to be an easy task. There are more than 20,000 errors I had to navigate through to create a test case. I have tabled this and will come back to it later. you can unfollow this issue for now.
thanks
Farshad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As per your request, I'll go ahead and close this thread from my end. Post a new question once you have the reproducer ready.
Thanks,
Rahul

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page