2019-03-25 11:24:04 +00:00
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2023-01-30 14:41:12 +00:00
|
|
|
#ifndef HC_CPU_OPENCL_EMU_H
|
|
|
|
#define HC_CPU_OPENCL_EMU_H
|
2019-03-25 11:24:04 +00:00
|
|
|
|
|
|
|
#define DEVICE_TYPE -1
|
|
|
|
#define VENDOR_ID -1
|
|
|
|
#define LOCAL_MEM_TYPE 2
|
|
|
|
#define CUDA_ARCH 0
|
|
|
|
#define HAS_VPERM 0
|
|
|
|
#define HAS_VADD3 0
|
|
|
|
#define HAS_VBFE 0
|
|
|
|
#define VECT_SIZE 1
|
|
|
|
|
2019-04-04 18:01:37 +00:00
|
|
|
#ifdef DGST_ELEM
|
|
|
|
typedef struct digest
|
|
|
|
{
|
|
|
|
u32 digest_buf[DGST_ELEM];
|
|
|
|
|
|
|
|
} digest_t;
|
|
|
|
#endif
|
|
|
|
|
2019-03-25 20:57:10 +00:00
|
|
|
size_t get_global_id (u32 dimindx __attribute__((unused)));
|
|
|
|
size_t get_local_id (u32 dimindx __attribute__((unused)));
|
|
|
|
size_t get_local_size (u32 dimindx __attribute__((unused)));
|
2019-03-25 11:24:04 +00:00
|
|
|
|
2023-01-30 14:41:12 +00:00
|
|
|
#endif // HC_CPU_OPENCL_EMU_H
|