Fix LLVM compilation for OpenCL kernels
authorMangix <rosenp@gmail.com>
Tue, 19 Apr 2016 21:09:27 +0000 (14:09 -0700)
committerMangix <rosenp@gmail.com>
Wed, 20 Apr 2016 16:43:35 +0000 (09:43 -0700)
Fix LLVM compilation for OpenCL kernels

Whoops

include/kernel_vendor.h

index 0b6a57f..83eccd5 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
+#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable
 
 /**
  * vendor specific
@@ -38,4 +39,4 @@
  */
 
 #ifdef IS_GENERIC
-#endif
\ No newline at end of file
+#endif