Fix CL code for KawPow where it assumes everything is AMD
This commit is contained in:
parent
c8c40586a1
commit
4eb9a1aad5
3 changed files with 338 additions and 330 deletions
|
@ -29,7 +29,11 @@ typedef unsigned long uint64_t;
|
|||
#endif
|
||||
|
||||
#ifndef PLATFORM
|
||||
#ifdef cl_amd_media_ops
|
||||
#define PLATFORM OPENCL_PLATFORM_AMD
|
||||
#else
|
||||
#define PLATFORM OPENCL_PLATFORM_UNKNOWN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define HASHES_PER_GROUP (GROUP_SIZE / PROGPOW_LANES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue