Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
23 Views

Unable to migrate Cuda API's

 

Hii,

I have working been working on Intel oneAPI from beta-06, when I have gone through few applications, I am unable to migrate below Cuda API's using dpct and facing the below mentioned warning.

warning: DPCT1007:3: Migration of this CUDA API is not supported by the Intel(R) DPC++ Compatibility Tool.

cufftPlanMany

cufftSetStream

cufftDestroy

cuErrorCheck
mycufftExecC2R

_threadfence

curand_init

curand_normal

curand_uniform

_ldg

curand_uniform_double

cudaProfilerStart

cudaProfilerStop

curand_normal_double

cuGetErrorString

cuPointerGetAttributes

cudaMemcpyDefault

cudaLaunchKernel

cuGetErrorName

cuEventQuery

cuEventRecord

cuStreamWaitEvent

cuStreamSynchronize

cuEventSynchronize

cuCtxSynchronize

_syncwarp

Can we find any replacement for the above Cuda API's , so that it can be migrated using dpct?

0 Kudos
1 Reply
Highlighted
Moderator
10 Views

Hi,


Thank you for reaching out to us.

Please try using the latest Intel OneAPI Basekit ie beta-09.

The latest release has started to support most of the API (some partially) that you have mentioned like curand, cufft, etc.


DPC++ has its own mechanism to handle errors, so I will suggest you use the dpc++ error handling technique in such cases.


Please refer to the below links for more details.


https://software.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/onea...


https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-toolkit-release-notes.htm...



Warm Regards,

Abhishek


0 Kudos