This commit is contained in:
Dobromir Popov
2025-09-05 08:49:25 +03:00
parent 614c390692
commit e0c0d886f6
3 changed files with 75 additions and 195 deletions

View File

@@ -52,19 +52,12 @@ echo.
echo Building RinHash CUDA miner...
echo.
REM Compile with NVCC
nvcc -O3 -arch=sm_50 ^
REM Compile with NVCC (enable device linking for dynamic parallelism)
nvcc -O3 -rdc=true -arch=sm_50 ^
-gencode arch=compute_50,code=sm_50 ^
-gencode arch=compute_52,code=sm_52 ^
-gencode arch=compute_60,code=sm_60 ^
-gencode arch=compute_61,code=sm_61 ^
-gencode arch=compute_70,code=sm_70 ^
-gencode arch=compute_75,code=sm_75 ^
-gencode arch=compute_80,code=sm_80 ^
-gencode arch=compute_86,code=sm_86 ^
-I. rinhash.cu sha3-256.cu ^
-o rinhash-cuda-miner.exe ^
-lcuda -lcudart
-lcuda -lcudart -lcudadevrt
if errorlevel 1 (
echo.