Skip to content

Commit ef6d325

Browse files
committed
Fix scalar_vec_access.cpp test: add missing sync point
1 parent 74d0886 commit ef6d325

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/test/basic_tests/scalar_vec_access.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ int main() {
4444
out << cl::sycl::native::recip(a.x()) << cl::sycl::endl;
4545
});
4646
});
47+
Q.wait();
4748

4849
// Test that there is no ambiguity in overload resolution.
4950
cl::sycl::float4 a = {1.0, 2.0, 3.0, 4.0};

0 commit comments

Comments
 (0)