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
Device API for random number generation #139
Comments
@mkrainiuk: Can you look at this? |
Hi @WeiqunZhang, yes, we plan to provide device API for selected oneMKL domains including random number generators. We did some prototyping, and currently discussing API. If you have any ideas about what API will perfectly fit to your kernels, please share with us. |
summon @marius-cornea |
Something like below would work for us.
Also we usually use ordered queue. In that case, we also would like to be able to construct an In the code above, we assume the number
|
There is host API for generating random numbers on device in oneMKL. However, there is no device API for random number generation. The problem is we sometimes do not know how many random numbers we need before we launch a kernel that needs to use random numbers. Sometimes even when we know, the number of rand numbers needed might be too big to fit into memory.
Could oneAPI provide device API for random number generation?
The text was updated successfully, but these errors were encountered: