1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00
hashcat/include/kernel_vendor.h

48 lines
686 B
C
Raw Normal View History

2015-12-04 14:47:52 +00:00
/**
* Author......: Jens Steube <jens.steube@gmail.com>
* 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
2015-12-04 14:47:52 +00:00
/**
* vendor specific
*/
2015-12-16 09:00:33 +00:00
#if VENDOR_ID == 4098
2015-12-04 14:47:52 +00:00
#define IS_AMD
#elif VENDOR_ID == 4318
2015-12-04 14:47:52 +00:00
#define IS_NV
#else
#define IS_GENERIC
#endif
2015-12-04 14:47:52 +00:00
/**
* AMD specific
*/
#ifdef IS_AMD
#pragma OPENCL EXTENSION cl_amd_media_ops : enable
2015-12-04 14:47:52 +00:00
#pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
#endif
/**
* NV specific
*/
2015-12-04 14:47:52 +00:00
#ifdef IS_NV
#endif
/**
* Generic
*/
#ifdef IS_GENERIC
#endif