Skip to content

Commit edc87b2

Browse files
author
Alexander Batashev
authored
[SYCL] Check weak symbols in ABI dumps (#1609)
Signed-off-by: Alexander Batashev <[email protected]>
1 parent 4dd874b commit edc87b2

File tree

5 files changed

+221
-6
lines changed

5 files changed

+221
-6
lines changed

sycl/source/ordered_queue.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ ordered_queue::get_info() const {
110110
}
111111

112112
#define PARAM_TRAITS_SPEC(param_type, param, ret_type) \
113-
template ret_type ordered_queue::get_info<info::param_type::param>() const;
113+
template __SYCL_EXPORT ret_type \
114+
ordered_queue::get_info<info::param_type::param>() const;
114115

115116
#include <CL/sycl/info/queue_traits.def>
116117

@@ -124,9 +125,9 @@ template <typename propertyT> propertyT ordered_queue::get_property() const {
124125
return impl->get_property<propertyT>();
125126
}
126127

127-
template bool
128+
template __SYCL_EXPORT bool
128129
ordered_queue::has_property<property::queue::enable_profiling>() const;
129-
template property::queue::enable_profiling
130+
template __SYCL_EXPORT property::queue::enable_profiling
130131
ordered_queue::get_property<property::queue::enable_profiling>() const;
131132
} // namespace sycl
132133
} // __SYCL_INLINE_NAMESPACE(cl)

0 commit comments

Comments
 (0)