You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hashcat/include/kernel_vendor.h

50 lines
743 B

/**
* 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
/**
* 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
#ifndef cl_clang_storage_class_specifiers
#pragma OPENCL EXTENSION cl_amd_media_ops : enable
#pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
#endif
#endif
/**
* NV specific
*/
#ifdef IS_NV
#endif
/**
* Generic
*/
#ifdef IS_GENERIC
#endif