@@ -56,7 +56,8 @@ int main(int argc, char **argv) {
56
56
57
57
{ // Compile and run a trivial OpenCL kernel.
58
58
std::cout << " Test case1\n " ;
59
- online_compiler<source_language::opencl_c> Compiler;
59
+ sycl::INTEL::online_compiler<sycl::INTEL::source_language::opencl_c>
60
+ Compiler;
60
61
std::vector<byte> IL;
61
62
try {
62
63
IL = Compiler.compile (
@@ -78,7 +79,8 @@ int main(int argc, char **argv) {
78
79
{ // Compile and run a trivial OpenCL kernel using online_compiler()
79
80
// constructor accepting SYCL device.
80
81
std::cout << " Test case2\n " ;
81
- online_compiler<source_language::opencl_c> Compiler (Device);
82
+ sycl::INTEL::online_compiler<sycl::INTEL::source_language::opencl_c>
83
+ Compiler (Device);
82
84
std::vector<byte> IL;
83
85
try {
84
86
IL = Compiler.compile (CLSource);
@@ -97,7 +99,7 @@ int main(int argc, char **argv) {
97
99
// PATHs to clangFEWrapper library properly.
98
100
{ // Compile a trivial CM kernel.
99
101
std::cout << " Test case3\n " ;
100
- online_compiler<source_language::cm> Compiler;
102
+ sycl::INTEL:: online_compiler<sycl::INTEL:: source_language::cm> Compiler;
101
103
try {
102
104
std::vector<byte> IL = Compiler.compile (CMSource);
103
105
@@ -111,7 +113,8 @@ int main(int argc, char **argv) {
111
113
112
114
{ // Compile a source with syntax errors.
113
115
std::cout << " Test case4\n " ;
114
- online_compiler<source_language::opencl_c> Compiler;
116
+ sycl::INTEL::online_compiler<sycl::INTEL::source_language::opencl_c>
117
+ Compiler;
115
118
std::vector<byte> IL;
116
119
bool TestPassed = false ;
117
120
try {
@@ -130,7 +133,8 @@ int main(int argc, char **argv) {
130
133
131
134
{ // Compile a good CL source using unrecognized compilation options.
132
135
std::cout << " Test case5\n " ;
133
- online_compiler<source_language::opencl_c> Compiler;
136
+ sycl::INTEL::online_compiler<sycl::INTEL::source_language::opencl_c>
137
+ Compiler;
134
138
std::vector<byte> IL;
135
139
bool TestPassed = false ;
136
140
try {
@@ -152,7 +156,8 @@ int main(int argc, char **argv) {
152
156
153
157
{ // Try compiling CM source with OpenCL compiler.
154
158
std::cout << " Test case6\n " ;
155
- online_compiler<source_language::opencl_c> Compiler;
159
+ sycl::INTEL::online_compiler<sycl::INTEL::source_language::opencl_c>
160
+ Compiler;
156
161
std::vector<byte> IL;
157
162
bool TestPassed = false ;
158
163
try {
0 commit comments