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 46046bd commit d88441cCopy full SHA for d88441c
sycl/test-e2e/Basic/event_profiling_info.cpp
@@ -70,7 +70,12 @@ int main() {
70
copyEvent.wait();
71
kernelEvent.wait();
72
73
- assert(verifyProfiling(copyEvent) && verifyProfiling(kernelEvent));
+ // Profiling with HIP / CUDA backend may produce invalid results.
74
+ // The below check on backend type should be removed once
75
+ // https://github.com/intel/llvm/issues/10042 is resolved.
76
+ if (kernelQueue.get_backend() != sycl::backend::ext_oneapi_cuda &&
77
+ kernelQueue.get_backend() != sycl::backend::ext_oneapi_hip)
78
+ assert(verifyProfiling(copyEvent) && verifyProfiling(kernelEvent));
79
}
80
81
for (size_t I = 0; I < Size; ++I) {
0 commit comments