summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/amd_gpu/gpu.hpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2018-02-21 21:31:20 +0000
committerGitHub <noreply@github.com>2018-02-21 21:31:20 +0000
commitcba86718e05384aa7bc4e4b916cf3b3c942b126a (patch)
treef08c352ae4261825dca47635c88b8e4a08d67bb7 /xmrstak/backend/amd/amd_gpu/gpu.hpp
parentf785481bb7c1fb887a65a0b19c3e453904bb5474 (diff)
parentcff6b6cbfbb3da44d85753885466de5122e20472 (diff)
downloadxmr-stak-cba86718e05384aa7bc4e4b916cf3b3c942b126a.zip
xmr-stak-cba86718e05384aa7bc4e4b916cf3b3c942b126a.tar.gz
Merge pull request #613 from psychocrypt/topic-compatibilityModeAmd
add OpenCL compatibility mode
Diffstat (limited to 'xmrstak/backend/amd/amd_gpu/gpu.hpp')
-rw-r--r--xmrstak/backend/amd/amd_gpu/gpu.hpp1
1 files changed, 1 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud