File tree Expand file tree Collapse file tree 6 files changed +19
-4
lines changed
test/conformance/exp_command_buffer/native-command Expand file tree Collapse file tree 6 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ set(OCL_LOADER_REPO
2020
2121# Repo tags/hashes
2222
23- set (OCL_HEADERS_TAG 542d7a8f65ecfd88b38de35d8b10aa67b36b33b2 )
24- set (OCL_LOADER_TAG 804b6f040503c47148bee535230070da6b857ae4 )
23+ set (OCL_HEADERS_TAG 60ba29d8117b5f81d6ab294fa62d9b6688d83f4e )
24+ set (OCL_LOADER_TAG ddf6c70230a79cdb8fcccfd3c775b09e6820f42e )
2525
2626# OpenCL Headers
2727if (NOT OpenCL_HEADERS)
Original file line number Diff line number Diff line change 1414#define CL_TARGET_OPENCL_VERSION 300
1515#endif
1616
17+ // Include symbols for beta extensions
18+ #ifndef CL_ENABLE_BETA_EXTENSIONS
19+ #define CL_ENABLE_BETA_EXTENSIONS
20+ #endif
21+
1722#include <CL/cl.h>
1823#include <CL/cl_ext.h>
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if(UR_OPENCL_INCLUDE_DIR)
5757else ()
5858 FetchContent_Declare(OpenCL-Headers
5959 GIT_REPOSITORY "https://github.com/KhronosGroup/OpenCL-Headers.git"
60- GIT_TAG 542d7a8f65ecfd88b38de35d8b10aa67b36b33b2
60+ GIT_TAG 60ba29d8117b5f81d6ab294fa62d9b6688d83f4e
6161 )
6262 FetchContent_MakeAvailable(OpenCL-Headers)
6363 FetchContent_GetProperties(OpenCL-Headers
Original file line number Diff line number Diff line change 99// ===----------------------------------------------------------------------===//
1010
1111#include " common.hpp"
12- #include < CL/cl_ext.h>
1312#include < ur/ur.hpp>
1413
1514// / Handle to a kernel command.
Original file line number Diff line number Diff line change 77// ===-----------------------------------------------------------------===//
88#pragma once
99
10+ // Include symbols for beta extensions
11+ #ifndef CL_ENABLE_BETA_EXTENSIONS
12+ #define CL_ENABLE_BETA_EXTENSIONS
13+ #endif
14+
1015#include < CL/cl.h>
1116#include < CL/cl_ext.h>
1217#include < climits>
Original file line number Diff line number Diff line change 55// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
77#include " common.h"
8+
9+ // Include symbols for beta extensions
10+ #ifndef CL_ENABLE_BETA_EXTENSIONS
11+ #define CL_ENABLE_BETA_EXTENSIONS
12+ #endif
13+
814#include < CL/cl_ext.h>
915
1016// Test using using OpenCL cl_khr_command_buffer to add commands to a native
You can’t perform that action at this time.
0 commit comments