Compilation of CUDA SDK V4.1.28 For Linux?

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

error: identifier "CURAND_STATUS_DOUBLE_PRECISION_REQUIRED" - undefined

My google-fu only gives similar problems, not solutions. I have an older version of the SDK (version 4.0.17) that compiles fine. Thus, this may be a bug in the SDK, or there are environment variables that I have not set.

+4
source share
1 answer

Not quite an β€œanswer”, but an ugly quick fix is ​​to comment on line 328. This has an effect on my program, but there is no guarantee that it will not affect yours.

+1
source

Source: https://habr.com/ru/post/1399049/


All Articles