Thanks for reaching out to us.
>>I'm trying to convert the attached CUDA code to oneAPI
Could you please confirm whether you are using Intel DPC++ Compatibility Tool(Dpct) to migrate or trying to migrate from Cuda to DPC++ manually?
Could you please provide us with the following details:
OS & its version
If possible please provide us with the migrated code along with the results(both with native Cuda and dpc++ code) so that it will help us to investigate more on your issue.
Thanks & Regards,