Skip to content

Commit a1cd6c8

Browse files
Minor fixes
1 parent 84e07bd commit a1cd6c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/include/sycl/detail/compile_time_kernel_info.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//==--------------------- get_device_kernel_info.hpp -----------------------==//
1+
//==------------------- compile_time_kernel_info.hpp -----------------------==//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -22,8 +22,8 @@ struct CompileTimeKernelInfoTy {
2222
detail::string_view Name;
2323
unsigned NumParams = 0;
2424
bool IsESIMD = false;
25-
detail::string_view FileName;
26-
detail::string_view FunctionName;
25+
detail::string_view FileName{};
26+
detail::string_view FunctionName{};
2727
unsigned LineNumber = 0;
2828
unsigned ColumnNumber = 0;
2929
int64_t KernelSize = 0;
@@ -48,4 +48,4 @@ inline constexpr CompileTimeKernelInfoTy CompileTimeKernelInfo{
4848
} // namespace compile_time_kernel_info_v1
4949
} // namespace detail
5050
} // namespace _V1
51-
} // namespace sycl
51+
} // namespace sycl

0 commit comments

Comments
 (0)