mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 16:52:40 -05:00
Added RandomX JIT for AMD Navi GPUs
This commit is contained in:
@@ -30,12 +30,10 @@
|
||||
#include "crypto/rx/RxAlgo.h"
|
||||
|
||||
|
||||
void xmrig::RxRunKernel::enqueue(cl_command_queue queue, size_t threads)
|
||||
void xmrig::RxRunKernel::enqueue(cl_command_queue queue, size_t threads, size_t workgroup_size)
|
||||
{
|
||||
const size_t gthreads = threads * 64;
|
||||
static const size_t lthreads = 64;
|
||||
|
||||
enqueueNDRange(queue, 1, nullptr, >hreads, <hreads);
|
||||
const size_t gthreads = threads * workgroup_size;
|
||||
enqueueNDRange(queue, 1, nullptr, >hreads, &workgroup_size);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user