Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MaheshBabu
Beginner
192 Views

CUDA API Migration issue

Hai,

When I tried to migrate an application using beta08 version, I got the following warnings.
-> Migration of this CUDA API is not supported by the Intel(R) DPC++ Compatibility Tool.
return a + (b - a) * curand_uniform_double(&state);
-> Migration of this CUDA API is not supported by the Intel(R) DPC++ Compatibility Tool.
return curand_normal(&state);

I got similar warning for the api curand_uniform in beta07 version and got migrated in beta08 version.
Is there any chance that, these errors will also be solved in next versions.
If not, please let me know whether there are any alternative approach for these in DPC++ or SYCL.

0 Kudos
3 Replies
RahulV_intel
Moderator
179 Views

Hi,


Could you attach a minimal code sample with the above API call, that triggers this warning?


Currently, cuRAND API migration is partially supported by DPCT.


Alternate approach would be to use equivalent oneMKL RNG API.

Kindly refer to the link below.

https://software.intel.com/content/www/us/en/develop/documentation/oneapi-mkl-dpcpp-developer-refere...



Thanks,

Rahul


RahulV_intel
Moderator
167 Views

Hi,


Just a quick reminder to share your code sample. Also, please give it a try with the latest beta09 release and check whether the above cuRand API migrates.

https://software.intel.com/content/www/us/en/develop/tools/oneapi/download.html#basekit



Thanks,

Rahul


RahulV_intel
Moderator
149 Views

Hi,


I have not heard back from you. So, I will go ahead and close this thread. Feel free to post a new question if you have any issue.


Reply