OpenClInternal.h 316 B

123456789101112131415161718192021222324
  1. #ifndef MANDEL_OPENCLINTERNAL_H
  2. #define MANDEL_OPENCLINTERNAL_H
  3. #ifdef WITH_OPENCL
  4. #ifdef __APPLE__
  5. #include <OpenCL/cl.hpp>
  6. #else
  7. #include <CL/cl.hpp>
  8. #endif
  9. #endif
  10. namespace mnd
  11. {
  12. struct ClDeviceWrapper
  13. {
  14. #ifdef WITH_OPENCL
  15. cl::Device device;
  16. #endif
  17. };
  18. }
  19. #endif // MANDEL_OPENCLINTERNAL_H