Added RandomX JIT for AMD Navi GPUs
This commit is contained in:
parent
2f27d5d108
commit
7fa5e8706e
9 changed files with 2148 additions and 873 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue