Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sycl/include/CL/sycl/detail/kernel_desc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ template <class Name> struct SpecConstantInfo {
#if __cplusplus >= 201703L
// Translates SYCL 2020 specialization constant type to its name.
template <auto &SpecName> const char *get_spec_constant_symbolic_ID() {
#ifdef SYCL_LANGUAGE_VERSION
return __builtin_unique_stable_name(
specialization_id_name_generator<SpecName>);
#else
return "";
#endif
}
#endif

Expand Down