Skip to content

Commit 213c82c

Browse files
authored
[SYCL][ABI-break] Remove make_context and make_queue (#6546)
1 parent 7c58b9a commit 213c82c

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

sycl/source/backend/level_zero.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ __SYCL_EXPORT context make_context(const std::vector<device> &DeviceList,
6161
std::make_shared<context_impl>(PiContext, async_handler{}, Plugin));
6262
}
6363

64-
// TODO: remove this version (without ownership) when allowed to break ABI.
65-
__SYCL_EXPORT context make_context(const std::vector<device> &DeviceList,
66-
pi_native_handle NativeHandle) {
67-
return make_context(DeviceList, NativeHandle, false);
68-
}
69-
7064
//----------------------------------------------------------------------------
7165
// Implementation of level_zero::make<program>
7266
__SYCL_EXPORT program make_program(const context &Context,
@@ -98,12 +92,6 @@ __SYCL_EXPORT queue make_queue(const context &Context, const device &Device,
9892
backend::ext_oneapi_level_zero);
9993
}
10094

101-
// TODO: remove this version (without ownership) when allowed to break ABI.
102-
__SYCL_EXPORT queue make_queue(const context &Context,
103-
pi_native_handle NativeHandle) {
104-
return make_queue(Context, NativeHandle, false);
105-
}
106-
10795
//----------------------------------------------------------------------------
10896
// Implementation of level_zero::make<event>
10997
__SYCL_EXPORT event make_event(const context &Context,

sycl/test/abi/sycl_symbols_linux.dump

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3655,10 +3655,8 @@ _ZN4sycl3_V13ext5intel12experimental15online_compilerILNS3_15source_languageE0EE
36553655
_ZN4sycl3_V13ext5intel12experimental15online_compilerILNS3_15source_languageE1EE7compileIJSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISE_EEEEES8_IhSaIhEERKSE_DpRKT_
36563656
_ZN4sycl3_V13ext6oneapi10level_zero10make_eventERKNS0_7contextEmb
36573657
_ZN4sycl3_V13ext6oneapi10level_zero10make_queueERKNS0_7contextERKNS0_6deviceEmb
3658-
_ZN4sycl3_V13ext6oneapi10level_zero10make_queueERKNS0_7contextEm
36593658
_ZN4sycl3_V13ext6oneapi10level_zero10make_queueERKNS0_7contextEmb
36603659
_ZN4sycl3_V13ext6oneapi10level_zero11make_deviceERKNS0_8platformEm
3661-
_ZN4sycl3_V13ext6oneapi10level_zero12make_contextERKSt6vectorINS0_6deviceESaIS5_EEm
36623660
_ZN4sycl3_V13ext6oneapi10level_zero12make_contextERKSt6vectorINS0_6deviceESaIS5_EEmb
36633661
_ZN4sycl3_V13ext6oneapi10level_zero12make_programERKNS0_7contextEm
36643662
_ZN4sycl3_V13ext6oneapi10level_zero13make_platformEm

sycl/test/abi/sycl_symbols_windows.dump

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2668,9 +2668,7 @@
26682668
?mad@__host_std@cl@@YANNNN@Z
26692669
?makeDir@OSUtil@detail@sycl@cl@@SAHPEBD@Z
26702670
?make_context@detail@sycl@cl@@YA?AVcontext@23@_KAEBV?$function@$$A6AXVexception_list@sycl@cl@@@Z@std@@W4backend@23@@Z
2671-
?make_context@level_zero@oneapi@ext@sycl@cl@@YA?AVcontext@45@AEBV?$vector@Vdevice@sycl@cl@@V?$allocator@Vdevice@sycl@cl@@@std@@@std@@_K@Z
26722671
?make_context@level_zero@oneapi@ext@sycl@cl@@YA?AVcontext@45@AEBV?$vector@Vdevice@sycl@cl@@V?$allocator@Vdevice@sycl@cl@@@std@@@std@@_K_N@Z
2673-
?make_context@level_zero@sycl@cl@@YA?AVcontext@23@AEBV?$vector@Vdevice@sycl@cl@@V?$allocator@Vdevice@sycl@cl@@@std@@@std@@_K@Z
26742672
?make_context@level_zero@sycl@cl@@YA?AVcontext@23@AEBV?$vector@Vdevice@sycl@cl@@V?$allocator@Vdevice@sycl@cl@@@std@@@std@@_K_N@Z
26752673
?make_context@opencl@sycl@cl@@YA?AVcontext@23@_K@Z
26762674
?make_device@detail@sycl@cl@@YA?AVdevice@23@_KW4backend@23@@Z
@@ -2697,9 +2695,7 @@
26972695
?make_queue@detail@sycl@cl@@YA?AVqueue@23@_KAEBVcontext@23@AEBVdevice@23@_NAEBV?$function@$$A6AXVexception_list@sycl@cl@@@Z@std@@W4backend@23@@Z
26982696
?make_queue@detail@sycl@cl@@YA?AVqueue@23@_KAEBVcontext@23@_NAEBV?$function@$$A6AXVexception_list@sycl@cl@@@Z@std@@W4backend@23@@Z
26992697
?make_queue@level_zero@oneapi@ext@sycl@cl@@YA?AVqueue@45@AEBVcontext@45@AEBVdevice@45@_K_N@Z
2700-
?make_queue@level_zero@oneapi@ext@sycl@cl@@YA?AVqueue@45@AEBVcontext@45@_K@Z
27012698
?make_queue@level_zero@oneapi@ext@sycl@cl@@YA?AVqueue@45@AEBVcontext@45@_K_N@Z
2702-
?make_queue@level_zero@sycl@cl@@YA?AVqueue@23@AEBVcontext@23@_K@Z
27032699
?make_queue@level_zero@sycl@cl@@YA?AVqueue@23@AEBVcontext@23@_K_N@Z
27042700
?make_queue@opencl@sycl@cl@@YA?AVqueue@23@AEBVcontext@23@_K@Z
27052701
?malloc@sycl@cl@@YAPEAX_KAEBVdevice@12@AEBVcontext@12@W4alloc@usm@12@@Z

0 commit comments

Comments
 (0)