Skip to content

Commit 299797b

Browse files
author
Sergey Kanaev
committed
Address style issues
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent 14e9517 commit 299797b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

sycl/test/host-interop-task/host-task.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#include <CL/sycl.hpp>
1919
#include <chrono>
2020
#include <iostream>
21-
#include <vector>
2221
#include <thread>
22+
#include <vector>
2323

2424
using namespace cl::sycl;
2525
using namespace cl::sycl::access;
@@ -170,7 +170,7 @@ void test4() {
170170
auto Acc1 = B1.get_access<mode::read_write, target::host_buffer>(CGH);
171171
auto Acc2 = B2.get_access<mode::read_write, target::host_buffer>(CGH);
172172

173-
CGH.codeplay_host_task([=]{
173+
CGH.codeplay_host_task([=] {
174174
Acc0[0] = 1;
175175
Acc1[0] = 2;
176176
Acc2[0] = 3;
@@ -218,20 +218,20 @@ int main(int Argc, const char *Argv[]) {
218218
int TestIdx = std::stoi(Argv[1]);
219219

220220
switch (TestIdx) {
221-
case 1:
222-
test1();
223-
break;
224-
case 2:
225-
test2();
226-
break;
227-
case 3:
228-
test3();
229-
break;
230-
case 4:
231-
test4();
232-
break;
233-
default:
234-
return 1;
221+
case 1:
222+
test1();
223+
break;
224+
case 2:
225+
test2();
226+
break;
227+
case 3:
228+
test3();
229+
break;
230+
case 4:
231+
test4();
232+
break;
233+
default:
234+
return 1;
235235
}
236236

237237
return 0;

0 commit comments

Comments
 (0)