Skip to content

Commit

Permalink
Update OpenCL code (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihhub authored Mar 18, 2024
1 parent 2a75789 commit 57c75d9
Show file tree
Hide file tree
Showing 7 changed files with 396 additions and 360 deletions.
5 changes: 3 additions & 2 deletions src/opencl/image_buffer_opencl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@

#pragma once

#define CL_TARGET_OPENCL_VERSION 210

#if defined( __APPLE__ ) || defined( __MACOSX )
#include <OpenCL/cl.h>
#else

#define CL_TARGET_OPENCL_VERSION 210

#include <CL/cl.h>
#endif

Expand Down
Loading

0 comments on commit 57c75d9

Please sign in to comment.