Advertisement
PabloVonDentz

Untitled

Apr 25th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1.  
  2. /*
  3. * GPU configuration. You should play around with intensity and worksize as the fastest settings will vary.
  4. * index - GPU index number usually starts from 0
  5. * intensity - Number of parallel GPU threads (nothing to do with CPU threads)
  6. * worksize - Number of local GPU threads (nothing to do with CPU threads)
  7. * affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner.
  8. * strided_index - switch memory pattern used for the scratch pad memory
  9. * 2 = chunked memory, chunk size is controlled by 'mem_chunk'
  10. * required: intensity must be a multiple of worksize
  11. * 1 or true = use 16byte contiguous memory per thread, the next memory block has offset of intensity blocks
  12. * 0 or false = use a contiguous block of memory per thread
  13. * mem_chunk - range 0 to 18: set the number of elements (16byte) per chunk
  14. * this value is only used if 'strided_index' == 2
  15. * element count is computed with the equation: 2 to the power of 'mem_chunk' e.g. 4 means a chunk of 16 elements(256byte)
  16. * comp_mode - Compatibility enable/disable the automatic guard around compute kernel which allows
  17. * to use a intensity which is not the multiple of the worksize.
  18. * If you set false and the intensity is not multiple of the worksize the miner can crash:
  19. * in this case set the intensity to a multiple of the worksize or activate comp_mode.
  20. * "gpu_threads_conf" :
  21. * [
  22. * { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : true, "mem_chunk" : 2, "comp_mode" : true },
  23. * ],
  24. * If you do not wish to mine with your AMD GPU(s) then use:
  25. * "gpu_threads_conf" :
  26. * null,
  27. */
  28.  
  29. "gpu_threads_conf" : [
  30. // gpu: Ellesmere memory:3920
  31. // compute units: 36
  32. { "index" : 0,
  33. "intensity" : 864, "worksize" : 8,
  34. "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2,
  35. "comp_mode" : true
  36. },
  37. // gpu: Ellesmere memory:3920
  38. // compute units: 36
  39. { "index" : 1,
  40. "intensity" : 864, "worksize" : 8,
  41. "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2,
  42. "comp_mode" : true
  43. },
  44. // gpu: Ellesmere memory:3920
  45. // compute units: 36
  46. { "index" : 2,
  47. "intensity" : 864, "worksize" : 8,
  48. "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2,
  49. "comp_mode" : true
  50. },
  51. // gpu: Ellesmere memory:3920
  52. // compute units: 36
  53. { "index" : 3,
  54. "intensity" : 864, "worksize" : 8,
  55. "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2,
  56. "comp_mode" : true
  57. },
  58. // gpu: Ellesmere memory:3920
  59. // compute units: 36
  60. { "index" : 4,
  61. "intensity" : 864, "worksize" : 8,
  62. "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2,
  63. "comp_mode" : true
  64. },
  65. // gpu: Ellesmere memory:3920
  66. // compute units: 36
  67. { "index" : 5,
  68. "intensity" : 864, "worksize" : 8,
  69. "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2,
  70. "comp_mode" : true
  71. },
  72.  
  73. ],
  74.  
  75. /*
  76. * Platform index. This will be 0 unless you have different OpenCL platform - eg. AMD and Intel.
  77. */
  78. "platform_index" : 1,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement