mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-16 11:48:15 +00:00
e8229af09b
Fix for -m 1000: MD4_H1 copy/paste error Fix for -m 8900, -m 9300: Invalid value for device_processor_cores for CPU devices Fix for -m 9100: Variable salt2 initializer needed some clauses for clearness Temporary limit gpu_accel for CPU devices to 1 for development phase Mark pocl as too bleeding edge for production use, recommend native drivers Remove workarounds for pocl Rename VENDOR_ID_UNKNOWN to VENDOR_ID_GENERIC in host code Rename IS_UNKNOWN to IS_GENERIC in kernel code
43 lines
579 B
C
43 lines
579 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
|
|
#endif
|
|
|
|
#if VENDOR_ID == 4318
|
|
#define IS_NV
|
|
#endif
|
|
|
|
#if VENDOR_ID == 9998 // temporary for dev
|
|
#define IS_GENERIC
|
|
#endif
|
|
|
|
#if VENDOR_ID == 9999
|
|
#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
|