Skip to content

Commit 805dfd7

Browse files
ABI symbol test update
1 parent 93941bc commit 805dfd7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

sycl/source/detail/pi.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,10 @@ template <backend BE> const plugin &getPlugin() {
439439
PI_INVALID_OPERATION);
440440
}
441441

442-
template __SYCL_EXPORT const plugin &getPlugin<backend::opencl>();
443-
template __SYCL_EXPORT const plugin &getPlugin<backend::level_zero>();
442+
template const plugin &getPlugin<backend::opencl>();
443+
template const plugin &getPlugin<backend::level_zero>();
444+
// __SYCL_EXPORT for esimd_cpu backend to use 'getPlugin' from
445+
// getPluginOpaqueData()
444446
template __SYCL_EXPORT const plugin &getPlugin<backend::esimd_cpu>();
445447

446448
// Report error and no return (keeps compiler from printing warnings).

sycl/test/abi/pi_level_zero_symbol_check.dump

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ piextMemCreateWithNativeHandle
9797
piextMemGetNativeHandle
9898
piextPlatformCreateWithNativeHandle
9999
piextPlatformGetNativeHandle
100+
piextPluginGetOpaqueData
100101
piextProgramCreateWithNativeHandle
101102
piextProgramGetNativeHandle
102103
piextProgramSetSpecializationConstant

0 commit comments

Comments
 (0)