diff options
author | Giovanni Santini | 2023-12-17 18:16:47 +0100 |
---|---|---|
committer | Giovanni Santini | 2023-12-17 18:21:12 +0100 |
commit | 187b6901e86143c0a00a9b5476a06b81ab1184ed (patch) | |
tree | abdf8a03bf3db741ea7bc1c03ff214c1a745bf3e /fix-cryptonight.patch | |
parent | 3a591e6f660a48ded020feaeee09bee8cee6f213 (diff) | |
download | aur-187b6901e86143c0a00a9b5476a06b81ab1184ed.tar.gz |
upgpkg: xmrig-mo-cuda 6.17.0mo1-2
- Fix build issues.
- Update sources from AUR package.
Diffstat (limited to 'fix-cryptonight.patch')
-rw-r--r-- | fix-cryptonight.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fix-cryptonight.patch b/fix-cryptonight.patch new file mode 100644 index 000000000000..8c223e9ec9e4 --- /dev/null +++ b/fix-cryptonight.patch @@ -0,0 +1,17 @@ +diff --git a/src/cuda_cryptonight_gpu.hpp b/src/cuda_cryptonight_gpu.hpp +index e789286..eeeedf5 100644 +--- a/src/cuda_cryptonight_gpu.hpp ++++ b/src/cuda_cryptonight_gpu.hpp +@@ -7,6 +7,12 @@ + #include "cuda_keccak.hpp" + #include "cuda_extra.h" + ++#if __CUDACC_VER_MAJOR__ >= 11 ++#define float_as_int __float_as_int ++#define int_as_float __int_as_float ++#define int2float __int2float_rn ++#endif ++ + namespace xmrig_cuda + { + namespace cn_gpu |