1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-05 04:11:07 +00:00
hashcat/include/kernel_vendor.h
neheb 0397d4f0e0 Remove clang extension
It's only needed for using the static keyword. Since you removed those, clover builds it fine without it. Also removed the check since Mesa is considered IS_GENERIC now.
2016-05-01 17:39:44 -07:00

44 lines
577 B
C

/**
* 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
/**
* vendor specific
*/
#if VENDOR_ID == (1 << 0)
#define IS_AMD
#elif VENDOR_ID == (1 << 6)
#define IS_NV
#else
#define IS_GENERIC
#endif
/**
* AMD specific
*/
#ifdef IS_AMD
#pragma OPENCL EXTENSION cl_amd_media_ops : enable
#pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
#endif
/**
* NV specific
*/
#ifdef IS_NV
#endif
/**
* Generic
*/
#ifdef IS_GENERIC
#endif