Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.

CUDA API Migration issue

MaheshBabu
Beginner
760 Views

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
745 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-reference/top/random-number-generators.html



Thanks,

Rahul


0 Kudos
RahulV_intel
Moderator
733 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


0 Kudos
RahulV_intel
Moderator
715 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.


0 Kudos
Reply