Skip to content

Commit

Permalink
Correct _LIBCUDACXX_CUDACC_VER value computation
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Nov 2, 2021
1 parent e632f97 commit 2b9526f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/cmake/libcudacxx.patch
Expand Up @@ -7,7 +7,7 @@ index d55a43688..654142d7e 100644
#define _LIBCUDACXX_CUDACC_VER_BUILD __CUDACC_VER_BUILD__
#define _LIBCUDACXX_CUDACC_VER \
- _LIBCUDACXX_CUDACC_VER_MAJOR * 10000 + _LIBCUDACXX_CUDACC_VER_MINOR * 100 + \
+ _LIBCUDACXX_CUDACC_VER_MAJOR * 10000 + _LIBCUDACXX_CUDACC_VER_MINOR * 1000 + \
+ _LIBCUDACXX_CUDACC_VER_MAJOR * 100000 + _LIBCUDACXX_CUDACC_VER_MINOR * 1000 + \
_LIBCUDACXX_CUDACC_VER_BUILD

#define _LIBCUDACXX_HAS_NO_LONG_DOUBLE
Expand Down

0 comments on commit 2b9526f

Please sign in to comment.