Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiling CUDA SDK V4.1.28 For Linux?

When trying to compile the most recent CUDA SDK from Nvidia (version 4.1.28) for linux, I get the following error:

error: identifier "CURAND_STATUS_DOUBLE_PRECISION_REQUIRED" is undefined

My google-fu yields only similar problems, and not solutions. I have an older version of the SDK (version 4.0.17) which compiles fine. So this might be a bug in the SDK, or there is/are environment variable(s) I didn't set.

like image 570
maxywb Avatar asked Nov 04 '22 04:11

maxywb


1 Answers

Not really an "answer", but an ugly quick fix is to comment out the line 328. It doesent impact my program, but there is no guarantee that it does not affect yours.

like image 153
binford Avatar answered Nov 09 '22 06:11

binford