dive.rule: replaced all xNM with ONM
[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 #ifdef cl_clang_storage_class_specifiers
11 #pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable
12 #endif
13
14 /**
15 * vendor specific
16 */
17
18 #if VENDOR_ID == 4098
19 #define IS_AMD
20 #elif VENDOR_ID == 4318
21 #define IS_NV
22 #else
23 #define IS_GENERIC
24 #endif
25
26 /**
27 * AMD specific
28 */
29
30 #ifdef IS_AMD
31 #pragma OPENCL EXTENSION cl_amd_media_ops : enable
32 #pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
33 #endif
34
35 /**
36 * NV specific
37 */
38
39 #ifdef IS_NV
40 #endif
41
42 /**
43 * Generic
44 */
45
46 #ifdef IS_GENERIC
47 #endif