Skip to content

Commit

Permalink
Update sycl/include/sycl/handler.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: aelovikov-intel <andrei.elovikov@intel.com>
  • Loading branch information
bso-intel and aelovikov-intel committed Feb 9, 2024
1 parent 05a0ca1 commit ecb8ce9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sycl/include/sycl/handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,7 @@ class __SYCL_EXPORT handler {
/// kernel bundle contains.
#ifdef __INTEL_PREVIEW_BREAKING_CHANGES
void verifyUsedKernelBundle(const std::string &KernelName) {
detail::string_view Name(KernelName);
verifyUsedKernelBundleInternal(Name);
verifyUsedKernelBundleInternal(detail::string_view{KernelName});
}
void verifyUsedKernelBundleInternal(detail::string_view KernelName);
#else
Expand Down

0 comments on commit ecb8ce9

Please sign in to comment.