Remove clang extension
[hashcat.git] / include / kernel_vendor.h
1 /**
2 * Author......: Jens Steube <jens.steube@gmail.com>
3 * License.....: MIT
4 */
5
6 #ifdef cl_khr_byte_addressable_store
7 #pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
8 #endif
9
10 /**
11 * vendor specific
12 */
13
14 #if VENDOR_ID == (1 << 0)
15 #define IS_AMD
16 #elif VENDOR_ID == (1 << 6)
17 #define IS_NV
18 #else
19 #define IS_GENERIC
20 #endif
21
22 /**
23 * AMD specific
24 */
25
26 #ifdef IS_AMD
27 #pragma OPENCL EXTENSION cl_amd_media_ops : enable
28 #pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
29 #endif
30
31 /**
32 * NV specific
33 */
34
35 #ifdef IS_NV
36 #endif
37
38 /**
39 * Generic
40 */
41
42 #ifdef IS_GENERIC
43 #endif