We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e1ac0a commit c82168cCopy full SHA for c82168c
sycl-jit/jit-compiler/include/Resource.h
@@ -8,6 +8,7 @@
8
9
#pragma once
10
11
+#include <iterator>
12
#include <string_view>
13
#include <utility>
14
sycl-jit/jit-compiler/utils/generate.py
@@ -43,7 +43,7 @@ def process_dir(dir):
43
static const char data[] = {{
44
#embed "{file_path}" if_empty(0)
45
, 0}};
46
- return std::string_view(data);
+ return std::string_view(data, std::size(data) - 1);
47
}}()
48
}},"""
49
)
0 commit comments