mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-05 14:59:37 +00:00
41 lines
524 B
C
41 lines
524 B
C
/**
|
|
* Author......: Jens Steube <jens.steube@gmail.com>
|
|
* License.....: MIT
|
|
*/
|
|
|
|
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
|
|
|
|
/**
|
|
* vendor specific
|
|
*/
|
|
|
|
#if VENDOR_ID == 4098
|
|
#define IS_AMD
|
|
#elif VENDOR_ID == 4318
|
|
#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 |