You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu: In function ‘void cryptonight_extra_cpu_prepare(nvid_ctx*, uint32_t, const xmrig_cuda::Algorithm&)’:
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu:415:170: warning: passing argument 5 to restrict-qualified parameter aliases with argument 6 [-Wrestrict]
CUDA_CHECK_KERNEL(ctx->device_id, cryptonight_extra_gpu_prepareAlgorithm::CN_0<<<grid, block >>>(wsize, ctx->d_input, ctx->inputlen, startNonce,
^
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu: In function ‘int cuda_get_deviceinfo(nvid_ctx*)’:
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu:571:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
if (ctx->device_blocks > max_blocks) {
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/src/xmrig-cuda-6.15.1/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu: In function ‘void cryptonight_extra_cpu_prepare(nvid_ctx*, uint32_t, const xmrig_cuda::Algorithm&)’:
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu:415:170: warning: passing argument 5 to restrict-qualified parameter aliases with argument 6 [-Wrestrict]
CUDA_CHECK_KERNEL(ctx->device_id, cryptonight_extra_gpu_prepareAlgorithm::CN_0<<<grid, block >>>(wsize, ctx->d_input, ctx->inputlen, startNonce,
^
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu: In function ‘int cuda_get_deviceinfo(nvid_ctx*)’:
/usr/src/xmrig-cuda-6.15.1/src/cuda_extra.cu:571:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
if (ctx->device_blocks > max_blocks) {
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/src/xmrig-cuda-6.15.1/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero
using:
cmake .. -DCMAKE_C_COMPILER=$(which gcc-8) -DCMAKE_CXX_COMPILER=$(which g++-8)
The text was updated successfully, but these errors were encountered: