mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-12 09:42:50 -05:00
Implemented OpenCL JIT mode.
This commit is contained in:
@@ -26,9 +26,6 @@
|
||||
#include "backend/opencl/kernels/rx/InitVmKernel.h"
|
||||
#include "backend/opencl/wrappers/OclLib.h"
|
||||
|
||||
#include "base/io/log/Log.h"
|
||||
#include <thread>
|
||||
|
||||
|
||||
void xmrig::InitVmKernel::enqueue(cl_command_queue queue, size_t threads, uint32_t iteration)
|
||||
{
|
||||
@@ -37,10 +34,6 @@ void xmrig::InitVmKernel::enqueue(cl_command_queue queue, size_t threads, uint32
|
||||
const size_t gthreads = threads * 8;
|
||||
static const size_t lthreads = 32;
|
||||
|
||||
// LOG_WARN("%zu %zu %u", gthreads, lthreads, iteration);
|
||||
|
||||
// std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
|
||||
enqueueNDRange(queue, 1, nullptr, >hreads, <hreads);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user