Skip to content

Commit 822eb1c

Browse files
author
Alexander Batashev
committed
[SYCL] Remove meaningless qualifier
Signed-off-by: Alexander Batashev <[email protected]>
1 parent 7746315 commit 822eb1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/source/detail/pi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void initialize() {
6262
die("Unknown SYCL_BE");
6363
}
6464
#define _PI_API(api) \
65-
extern const decltype(::api) * api##OclPtr; \
65+
extern decltype(::api) * api##OclPtr; \
6666
api = api##OclPtr;
6767
#include <CL/sycl/detail/pi.def>
6868

sycl/source/detail/pi_opencl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ pi_result OCL(piSamplerCreate)(pi_context context,
243243

244244
// Forward calls to OpenCL RT.
245245
#define _PI_CL(pi_api, ocl_api) \
246-
const decltype(::pi_api) * pi_api##OclPtr = \
246+
decltype(::pi_api) * pi_api##OclPtr = \
247247
detail::pi::cast<decltype(&::pi_api)>(&ocl_api);
248248

249249
// Platform

0 commit comments

Comments
 (0)