Skip to content

Commit b0f2b27

Browse files
committed
Add get_info declaration for the new device-specific traits
1 parent 58d392d commit b0f2b27

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sycl/source/kernel.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ kernel::get_info(const device &Device, const range<3> &WGSize) const {
101101

102102
#undef __SYCL_PARAM_TRAITS_SPEC
103103

104+
#define __SYCL_PARAM_TRAITS_SPEC(Namespace, DescType, Desc, ReturnT, UrCode) \
105+
template __SYCL_EXPORT ReturnT \
106+
kernel::get_info<Namespace::info::DescType::Desc>(const device &) const;
107+
108+
#include <sycl/info/ext_intel_kernel_info_traits.def>
109+
110+
#undef __SYCL_PARAM_TRAITS_SPEC
111+
104112
template __SYCL_EXPORT uint32_t
105113
kernel::get_info<info::kernel_device_specific::max_sub_group_size>(
106114
const device &, const sycl::range<3> &) const;

0 commit comments

Comments
 (0)