There was an error fetching the commit references. Please try again later.
AMD: workaround driver memory leaks
Instead of creating a new kernel for each block we pre-build 25 kernel within a chunk. This reduces the calls to `clCreateProgramWithSource` which creates the leaks and will crash the miner after a few hours. Workaround was first introduced by @SChernykh in xmrig-amd
Showing
- xmrstak/backend/amd/OclCryptonightR_gen.cpp 134 additions, 103 deletionsxmrstak/backend/amd/OclCryptonightR_gen.cpp
- xmrstak/backend/amd/OclCryptonightR_gen.hpp 1 addition, 1 deletionxmrstak/backend/amd/OclCryptonightR_gen.hpp
- xmrstak/backend/amd/amd_gpu/gpu.cpp 10 additions, 5 deletionsxmrstak/backend/amd/amd_gpu/gpu.cpp
- xmrstak/backend/amd/amd_gpu/gpu.hpp 1 addition, 0 deletionsxmrstak/backend/amd/amd_gpu/gpu.hpp
- xmrstak/backend/amd/amd_gpu/opencl/cryptonight_r.rtcl 11 additions, 22 deletionsxmrstak/backend/amd/amd_gpu/opencl/cryptonight_r.rtcl
- xmrstak/backend/amd/amd_gpu/opencl/cryptonight_r_def.rtcl 33 additions, 0 deletionsxmrstak/backend/amd/amd_gpu/opencl/cryptonight_r_def.rtcl
Loading
Please register or sign in to comment