Fix CL code for KawPow where it assumes everything is AMD

This commit is contained in:
Tony Butler 2021-05-15 19:53:46 -06:00
parent c8c40586a1
commit 4eb9a1aad5
3 changed files with 338 additions and 330 deletions

View file

@ -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)