9 KernelLabel(std::string_view name, std::string_view file =
"",
size_t line = ~0ull)
11 if constexpr(muda::RUNTIME_CHECK_ON)
13 details::LaunchInfoCache::current_kernel_name(name);
14 details::LaunchInfoCache::current_kernel_file(file);
15 details::LaunchInfoCache::current_kernel_line(line);
21 if constexpr(muda::RUNTIME_CHECK_ON)
23 details::LaunchInfoCache::current_kernel_name(
"");
24 details::LaunchInfoCache::current_kernel_file(
"");
25 details::LaunchInfoCache::current_kernel_line(~0ull);