From cff6b6cbfbb3da44d85753885466de5122e20472 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Mon, 12 Feb 2018 20:39:49 +0100 Subject: add OpenCL compatibility mode - add new option `comp_mode` to the amd config - disable `if guards` within opencl kernel if `comp_mode : false` --- xmrstak/backend/amd/amd_gpu/gpu.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'xmrstak/backend/amd/amd_gpu/gpu.hpp') diff --git a/xmrstak/backend/amd/amd_gpu/gpu.hpp b/xmrstak/backend/amd/amd_gpu/gpu.hpp index abfad5c..8fb7168 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.hpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.hpp @@ -26,6 +26,7 @@ struct GpuContext size_t workSize; int stridedIndex; int memChunk; + int compMode; /*Output vars*/ cl_device_id DeviceID; -- cgit v1.1