diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-02-21 21:31:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 21:31:20 +0000 |
commit | cba86718e05384aa7bc4e4b916cf3b3c942b126a (patch) | |
tree | f08c352ae4261825dca47635c88b8e4a08d67bb7 /xmrstak/backend/amd/config.tpl | |
parent | f785481bb7c1fb887a65a0b19c3e453904bb5474 (diff) | |
parent | cff6b6cbfbb3da44d85753885466de5122e20472 (diff) | |
download | xmr-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/config.tpl')
-rw-r--r-- | xmrstak/backend/amd/config.tpl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xmrstak/backend/amd/config.tpl b/xmrstak/backend/amd/config.tpl index 8914130..84251c7 100644 --- a/xmrstak/backend/amd/config.tpl +++ b/xmrstak/backend/amd/config.tpl @@ -1,9 +1,9 @@ R"===( /* * GPU configuration. You should play around with intensity and worksize as the fastest settings will vary. - * index - GPU index number usually starts from 0 - * intensity - Number of parallel GPU threads (nothing to do with CPU threads) - * worksize - Number of local GPU threads (nothing to do with CPU threads) + * index - GPU index number usually starts from 0 + * intensity - Number of parallel GPU threads (nothing to do with CPU threads) + * worksize - Number of local GPU threads (nothing to do with CPU threads) * affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner. * strided_index - switch memory pattern used for the scratch pad memory * 2 = chunked memory, chunk size is controlled by 'mem_chunk' @@ -13,9 +13,13 @@ R"===( * mem_chunk - range 0 to 18: set the number of elements (16byte) per chunk * this value is only used if 'strided_index' == 2 * element count is computed with the equation: 2 to the power of 'mem_chunk' e.g. 4 means a chunk of 16 elements(256byte) + * comp_mode - Compatibility enable/disable the automatic guard around compute kernel which allows + * to use a intensity which is not the multiple of the worksize. + * If you set false and the intensity is not multiple of the worksize the miner can crash: + * in this case set the intensity to a multiple of the worksize or activate comp_mode. * "gpu_threads_conf" : * [ - * { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : true, "mem_chunk" : 4 }, + * { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : true, "mem_chunk" : 4, "comp_mode" : true }, * ], * If you do not wish to mine with your AMD GPU(s) then use: * "gpu_threads_conf" : |