Browse Source

Upgrade cl.hpp to v2.0.10

cl-refactor
Paweł Bylica 8 years ago
parent
commit
e6428b55b5
No known key found for this signature in database GPG Key ID: 7A0C037434FE77EF
  1. 12054
      libethash-cl/CL/cl.hpp
  2. 17
      libethash-cl/ethash_cl_miner.h

12054
libethash-cl/CL/cl.hpp

File diff suppressed because it is too large

17
libethash-cl/ethash_cl_miner.h

@ -1,15 +1,24 @@
#pragma once #pragma once
#define __CL_ENABLE_EXCEPTIONS #define CL_HPP_TARGET_OPENCL_VERSION 120
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS #define CL_HPP_MINIMUM_OPENCL_VERSION 110
#define CL_HPP_ENABLE_EXCEPTIONS 1
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic push #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
#pragma GCC diagnostic ignored "-Wignored-attributes"
#endif
#include "CL/cl.hpp" #include "CL/cl.hpp"
#if defined(__clang__)
#pragma clang diagnostic pop #pragma clang diagnostic pop
#else #elif defined(__GNUC__)
#include "CL/cl.hpp" #pragma GCC diagnostic pop
#endif #endif
#include <time.h> #include <time.h>

Loading…
Cancel
Save