New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal instruction error with oneMKL mt2203 instruction #441
Comments
Hi, Any update on this issue, can someone help with this ? |
@aelizaro any update? |
Hi, @Shwetha-Selma, sorry for the delayed responce, I missed this issue. MT2203 generator is not yet available via oneMKL interfaces project, only via Intel oneMKL and so it can be used only on x86 CPUs and Intel's GPUs from the oneAPI package (however illegal instruction issue is a surprise, I can check it within dpct tool). In order to run on Tesla P100-PCIE-12GB, please, try another generator available in OneMKL Interfaces with cuRAND backend (Philox4x32x10 or mrg32k3a) or if the point is the sample migration itself - you can build it with icpx compiler, link it against Intel oneMKL but it won't work on NVIDIA HW yet, you can validate it on x86 CPU:
|
Thanks @aelizaro for confirming MT2203 generator is not yet available for the NVIDIA backend. And It would be helpful if you check about the 'Illegal instruction' error. Also Is there any plan to include support for MT2203 generator with open-source oneMKL? |
@Shwetha-Selma, yes, we plan to extend oneMKL Interfaces with more generators, the ones which are used in DPCT as the first priority, but no exact timeline yet. |
Summary
MersenneTwisterGP11213 Sample migrated from CUDA fails on NVIDIA GPU with opensource oneMKL library - Illegal instruction (core dumped)
Version
onemkl version - https://github.com/oneapi-src/oneMKL/releases/tag/v0.3
Environment
Steps to reproduce
Code Repo - MersenneTwister
Compile command - clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda MersenneTwister.cpp.dp.cpp -I../../../Common/ -I ../../../include/ -I -L -lonemkl_rng_curand -lonemkl
Observed behavior
Sample executes successfully with Intel oneMKL library on intel hardware(Gen9, Gen11)
Expected output
The text was updated successfully, but these errors were encountered: