Commit 920a334f authored by psychocrypt's avatar psychocrypt
Browse files

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
parent 65efc096
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment