Skip to content

Commit 279ef0d

Browse files
author
sergei
authored
[SYCL] Make queue::device_has() private (#5670)
The function is not defined by the specification, and was marked as public by mistake.
1 parent 893c0bb commit 279ef0d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sycl/include/CL/sycl/queue.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ class __SYCL_EXPORT queue {
237237
template <info::queue param>
238238
typename info::param_traits<info::queue, param>::return_type get_info() const;
239239

240+
private:
240241
// A shorthand for `get_device().has()' which is expected to be a bit quicker
241242
// than the long version
242243
bool device_has(aspect Aspect) const;

sycl/test/abi/sycl_symbols_windows.dump

+1-1
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,7 @@
16901690
?depends_on@handler@sycl@cl@@QEAAXVevent@23@@Z
16911691
?destructorNotification@buffer_impl@detail@sycl@cl@@QEAAXPEAX@Z
16921692
?determineHostPtr@SYCLMemObjT@detail@sycl@cl@@IEAAXAEBV?$shared_ptr@Vcontext_impl@detail@sycl@cl@@@std@@_NAEAPEAXAEA_N@Z
1693-
?device_has@queue@sycl@cl@@QEBA_NW4aspect@23@@Z
1693+
?device_has@queue@sycl@cl@@AEBA_NW4aspect@23@@Z
16941694
?die@pi@detail@sycl@cl@@YAXPEBD@Z
16951695
?discard_or_return@queue@sycl@cl@@AEAA?AVevent@23@AEBV423@@Z
16961696
?distance@__host_std@cl@@YA?AVhalf@half_impl@detail@sycl@2@V34562@0@Z

0 commit comments

Comments
 (0)