Skip to content

Commit

Permalink
[SYCL] Restore accidentally removed symbol (#15922)
Browse files Browse the repository at this point in the history
It was mistakenly removed in #15070
  • Loading branch information
againull authored Oct 29, 2024
1 parent 039bf49 commit b46e7c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions sycl/include/sycl/handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,11 @@ class __SYCL_EXPORT handler {
/// kernel bundle contains.
void verifyUsedKernelBundleInternal(detail::string_view KernelName);

// TODO: Legacy symbol, remove when ABI breaking is allowed.
void verifyUsedKernelBundle(const std::string &KernelName) {
verifyUsedKernelBundleInternal(detail::string_view{KernelName});
}

/// Stores lambda to the template-free object
///
/// Also initializes kernel name, list of arguments and requirements using
Expand Down
3 changes: 2 additions & 1 deletion sycl/test/abi/sycl_symbols_windows.dump
Original file line number Diff line number Diff line change
Expand Up @@ -3683,7 +3683,6 @@
?addLifetimeSharedPtrStorage@handler@_V1@sycl@@AEAAXV?$shared_ptr@$$CBX@std@@@Z
?addOrReplaceAccessorProperties@buffer_plain@detail@_V1@sycl@@IEAAXAEBVproperty_list@34@@Z
?addReduction@handler@_V1@sycl@@AEAAXAEBV?$shared_ptr@$$CBX@std@@@Z
?setArgHelper@handler@_V1@sycl@@AEAAXHAEAVwork_group_memory_impl@detail@23@@Z
?addStream@handler@_V1@sycl@@AEAAXAEBV?$shared_ptr@Vstream_impl@detail@_V1@sycl@@@std@@@Z
?alignedAlloc@OSUtil@detail@_V1@sycl@@SAPEAX_K0@Z
?alignedFree@OSUtil@detail@_V1@sycl@@SAXPEAX@Z
Expand Down Expand Up @@ -4215,6 +4214,7 @@
?select_device@filter_selector@oneapi@ext@_V1@sycl@@UEBA?AVdevice@45@XZ
?setArgHelper@handler@_V1@sycl@@AEAAXH$$QEAVraw_kernel_arg@experimental@oneapi@ext@23@@Z
?setArgHelper@handler@_V1@sycl@@AEAAXH$$QEAVsampler@23@@Z
?setArgHelper@handler@_V1@sycl@@AEAAXHAEAVwork_group_memory_impl@detail@23@@Z
?setArgsHelper@handler@_V1@sycl@@AEAAXH@Z
?setArgsToAssociatedAccessors@handler@_V1@sycl@@AEAAXXZ
?setHandlerKernelBundle@handler@_V1@sycl@@AEAAXAEBV?$shared_ptr@Vkernel_bundle_impl@detail@_V1@sycl@@@std@@@Z
Expand Down Expand Up @@ -4286,6 +4286,7 @@
?verifyDeviceHasProgressGuarantee@handler@_V1@sycl@@AEAAXW4forward_progress_guarantee@experimental@oneapi@ext@23@W4execution_scope@56723@1@Z
?verifyReductionProps@detail@_V1@sycl@@YAXAEBVproperty_list@23@@Z
?verifyUSMAllocatorProperties@_V1@sycl@@YAXAEBVproperty_list@12@@Z
?verifyUsedKernelBundle@handler@_V1@sycl@@AEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z
?verifyUsedKernelBundleInternal@handler@_V1@sycl@@AEAAXVstring_view@detail@23@@Z
?wait@event@_V1@sycl@@QEAAXXZ
?wait@event@_V1@sycl@@SAXAEBV?$vector@Vevent@_V1@sycl@@V?$allocator@Vevent@_V1@sycl@@@std@@@std@@@Z
Expand Down

0 comments on commit b46e7c1

Please sign in to comment.