summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/config.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/backend/amd/config.tpl')
-rw-r--r--xmrstak/backend/amd/config.tpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/xmrstak/backend/amd/config.tpl b/xmrstak/backend/amd/config.tpl
new file mode 100644
index 0000000..b8b6dc4
--- /dev/null
+++ b/xmrstak/backend/amd/config.tpl
@@ -0,0 +1,29 @@
+R"===(
+
+/*
+ * Number of GPUs that you have in your system. Each GPU will get its own CPU thread.
+ */
+"gpu_thread_num" : NUMGPUS,
+
+/*
+ * 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)
+ * affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner.
+ * "gpu_threads_conf" :
+ * [
+ * { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false },
+ * ],
+ */
+
+"gpu_threads_conf" : [
+GPUCONFIG
+],
+
+/*
+ * Platform index. This will be 0 unless you have different OpenCL platform - eg. AMD and Intel.
+ */
+"platform_index" : PLATFORMINDEX,
+
+)==="
OpenPOWER on IntegriCloud