From d10d20f1132a3c5d6dc51ed22a0381e460b579e8 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Fri, 1 Dec 2017 22:37:35 +0100 Subject: add AMD scratchpad indexing option Allow to change the indexing used to address the hash scratchpad memory. - add option `strided_index` for each gpu --- xmrstak/backend/amd/amd_gpu/gpu.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'xmrstak/backend/amd/amd_gpu/gpu.hpp') diff --git a/xmrstak/backend/amd/amd_gpu/gpu.hpp b/xmrstak/backend/amd/amd_gpu/gpu.hpp index abbd08d..c17bac1 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.hpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.hpp @@ -24,6 +24,7 @@ struct GpuContext size_t deviceIdx; size_t rawIntensity; size_t workSize; + int stridedIndex; /*Output vars*/ cl_device_id DeviceID; -- cgit v1.1