hcc
hcc copied to clipboard
Question: Accessing std lib in GPU lambdas
Is it possible to access std library functions within hcc lambdas?
Use case right now would be std::mt19937_64 generator; and the like, or is there a "HCC" way to do these things?
If there's a doc sorry and please link! :)
There is for example this https://github.com/ROCmSoftwarePlatform/rocRAND but I would not recommend mersenne twister or xorwow http://pracrand.sourceforge.net/RNG_engines.txt.
~~Is there some guide/docs on integrating HIP and HCC? I'm a at a bit of a loss on how to proceed.~~
Nevermind I've made some progress on this