Skip to content

Commit

Permalink
Fix OpenCL examples warnings for newer OpenCL headers
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 committed Jan 26, 2021
1 parent f146e26 commit 53b74c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/opencl/cl_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define CL_HPP_ENABLE_EXCEPTIONS
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
#define CL_HPP_TARGET_OPENCL_VERSION 120
#define CL_TARGET_OPENCL_VERSION 120

#if defined(__GNUC__)
#pragma GCC diagnostic push
Expand Down

0 comments on commit 53b74c7

Please sign in to comment.