Test fix for broken AMD support after https://github.com/hashcat/oclHashcat/pull/303
[hashcat.git] / include / kernel_vendor.h
index 83eccd5..7ee2176 100644 (file)
@@ -3,8 +3,13 @@
  * License.....: MIT
  */
 
+#ifdef cl_khr_byte_addressable_store
 #pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
+#endif
+
+#ifdef cl_clang_storage_class_specifiers
 #pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable
+#endif
 
 /**
  * vendor specific