hcc icon indicating copy to clipboard operation
hcc copied to clipboard

Question: Accessing std lib in GPU lambdas

Open PhilipDeegan opened this issue 7 years ago • 2 comments

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! :)

PhilipDeegan avatar Oct 13 '18 16:10 PhilipDeegan

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.

misos1 avatar Oct 15 '18 16:10 misos1

~~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

PhilipDeegan avatar Nov 19 '18 19:11 PhilipDeegan