wrathematics / fastrand

Fast uniform and normal random number generators.
Other
2 stars 1 forks source link

Compiling CUDA backend #2

Open cdeterman opened 6 years ago

cdeterman commented 6 years ago

How did you accomplish installing this with the CUDA backend? I am using the nvidia/cuda-8.0 ubuntu 14.04 docker image to try and compile but it keeps failing. I have toyed with it quite a bit so including all the outputs would be rather verbose to put here. If you wish, I could restart a fresh container and report the original error but thought I would ask how you previously successfully compiled it.

I use, as per the instructions,

R CMD INSTALL fastrand/ --configure-args="--with-backend=CUDA"

after cloning the repo. I don't specify the cuda path because it is finding nvcc successfully without it.

wrathematics commented 6 years ago

I'm really sorry I didn't respond to this sooner. I thought I already had.

I haven't done a lot of testing, though I have built it and used it successfully with the gpu backend on Titan, which is about the most ornery system I've ever used, so I figured everything was ok. I'll try to take a closer look on some other systems soon.