File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ bool kernel_test_strncpy(sycl::queue &deviceQueue) {
124124 std::cout << " dst: " << dst[0 ][19 ] << " src: " << src[19 ] << std::endl;
125125
126126 if (dst[0 ][19 ] != ' A' ) {
127- std::cout << " kernel_test_strncpy: test 1 failed" << std::endl;
128- return false ;
129- }
127+ std::cout << " kernel_test_strncpy: test 1 failed" << std::endl;
128+ return false ;
129+ }
130130
131131 std::cout << std::endl << " kernel_test_strncpy: test 2" << std::endl;
132132 for (idx = 0 ; idx < 20 ; ++idx) {
133133 std::cout << " dst: " << dst[1 ][idx] << " src: " << src[idx] << std::endl;
134- if (dst[1 ][idx] != src[idx]){
134+ if (dst[1 ][idx] != src[idx]) {
135135 std::cout << " kernel_test_strncpy: test 2 failed" << std::endl;
136136 return false ;
137137 }
You can’t perform that action at this time.
0 commit comments