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 c78a789 commit ff1ffceCopy full SHA for ff1ffce
SYCL/Basic/event_profiling_info.cpp
@@ -1,9 +1,5 @@
1
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
//
3
-// Looks like there is a bug in the test. There are rare sporadic failures of
4
-// this test on different devices.
5
-// REQUIRES: TEMPORARY_DISABLED
6
-//
7
// RUN: %HOST_RUN_PLACEHOLDER %t.out
8
// RUN: %CPU_RUN_PLACEHOLDER %t.out
9
// RUN: %GPU_RUN_PLACEHOLDER %t.out
@@ -67,6 +63,8 @@ int main() {
67
63
event kernelEvent = kernelQueue.submit([&](sycl::handler &CGH) {
68
64
CGH.single_task<class EmptyKernel>([=]() {});
69
65
});
66
+ copyEvent.wait();
+ kernelEvent.wait();
70
71
assert(verifyProfiling(copyEvent) && verifyProfiling(kernelEvent));
72
}
0 commit comments