summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/amd_gpu/gpu.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-04-14 23:17:33 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2018-06-04 21:07:11 +0000
commitee5d2c522f5dc9e5564433c05da2f3cc2a9e0ff4 (patch)
tree096905de879c533a5e2859be8e587eef297e0b3a /xmrstak/backend/amd/amd_gpu/gpu.hpp
parent6d09cbbff27c427e09767bc22c2eb56fa9e17a54 (diff)
downloadxmr-stak-ee5d2c522f5dc9e5564433c05da2f3cc2a9e0ff4.zip
xmr-stak-ee5d2c522f5dc9e5564433c05da2f3cc2a9e0ff4.tar.gz
allow non AMD OpenCL driver and devices
- add CLI flag to explicitly use non AMD OpenCL and devices - adjust OpenCL output (use OpenCL instead of AMD if --altOpenCL is sued) - optimize NVIDIA OpenCL auto suggestion
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 0db6c90..5ab80b8 100644
--- a/xmrstak/backend/amd/amd_gpu/gpu.hpp
+++ b/xmrstak/backend/amd/amd_gpu/gpu.hpp
@@ -27,6 +27,7 @@ struct GpuContext
size_t workSize;
int stridedIndex;
int memChunk;
+ bool isNVIDIA = false;
int compMode;
/*Output vars*/
OpenPOWER on IntegriCloud