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
20
20
21
21
# Repo tags/hashes
22
22
23
- set (OCL_HEADERS_TAG 542d7a8f65ecfd88b38de35d8b10aa67b36b33b2 )
24
- set (OCL_LOADER_TAG 804b6f040503c47148bee535230070da6b857ae4 )
23
+ set (OCL_HEADERS_TAG 60ba29d8117b5f81d6ab294fa62d9b6688d83f4e )
24
+ set (OCL_LOADER_TAG ddf6c70230a79cdb8fcccfd3c775b09e6820f42e )
25
25
26
26
# OpenCL Headers
27
27
if (NOT OpenCL_HEADERS )
Original file line number Diff line number Diff line change 14
14
#define CL_TARGET_OPENCL_VERSION 300
15
15
#endif
16
16
17
+ // Include symbols for beta extensions
18
+ #ifndef CL_ENABLE_BETA_EXTENSIONS
19
+ #define CL_ENABLE_BETA_EXTENSIONS
20
+ #endif
21
+
17
22
#include <CL/cl.h>
18
23
#include <CL/cl_ext.h>
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if(UR_OPENCL_INCLUDE_DIR)
57
57
else ()
58
58
FetchContent_Declare (OpenCL-Headers
59
59
GIT_REPOSITORY "https://github.com/KhronosGroup/OpenCL-Headers.git"
60
- GIT_TAG 542d7a8f65ecfd88b38de35d8b10aa67b36b33b2
60
+ GIT_TAG 60ba29d8117b5f81d6ab294fa62d9b6688d83f4e
61
61
)
62
62
FetchContent_MakeAvailable (OpenCL-Headers )
63
63
FetchContent_GetProperties (OpenCL-Headers
Original file line number Diff line number Diff line change 9
9
// ===----------------------------------------------------------------------===//
10
10
11
11
#include " common.hpp"
12
- #include < CL/cl_ext.h>
13
12
#include < ur/ur.hpp>
14
13
15
14
// / Handle to a kernel command.
Original file line number Diff line number Diff line change 7
7
// ===-----------------------------------------------------------------===//
8
8
#pragma once
9
9
10
+ // Include symbols for beta extensions
11
+ #ifndef CL_ENABLE_BETA_EXTENSIONS
12
+ #define CL_ENABLE_BETA_EXTENSIONS
13
+ #endif
14
+
10
15
#include < CL/cl.h>
11
16
#include < CL/cl_ext.h>
12
17
#include < climits>
Original file line number Diff line number Diff line change 5
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
7
7
#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
+
8
14
#include < CL/cl_ext.h>
9
15
10
16
// 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