From 42b8921df48589aaa75b27b008585f67958a046a Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 6 Jul 2017 11:32:58 +0100 Subject: [PATCH] Enable static keyword in OpenCL 1.1 --- libethash-cl/ethash_cl_miner_kernel.cl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libethash-cl/ethash_cl_miner_kernel.cl b/libethash-cl/ethash_cl_miner_kernel.cl index a3e190034..09f17c342 100644 --- a/libethash-cl/ethash_cl_miner_kernel.cl +++ b/libethash-cl/ethash_cl_miner_kernel.cl @@ -1,3 +1,5 @@ +#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable + #define OPENCL_PLATFORM_UNKNOWN 0 #define OPENCL_PLATFORM_NVIDIA 1 #define OPENCL_PLATFORM_AMD 2