Skip to content

Commit f2fff68

Browse files
committed
Fix lit failure
1 parent 4851ce9 commit f2fff68

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// UNSUPPORTED: cuda-8.0, cuda-9.0, cuda-9.1, cuda-9.2, cuda-10.0, cuda-10.1, cuda-10.2, cuda-11.0
2+
// UNSUPPORTED: v8.0, v9.0, v9.1, v9.2, v10.0, v10.1, v10.2, v11.0
3+
4+
// RUN: dpct --cuda-include-path="%cuda-path/include" -query-api-mapping=cudaEventRecordWithFlags | FileCheck %s -check-prefix=CUDAEVENTRECORDWITHFLAGS
5+
// CUDAEVENTRECORDWITHFLAGS: CUDA API:
6+
// CUDAEVENTRECORDWITHFLAGS-NEXT: cudaEventRecordWithFlags(event/*cudaEvent_t*/, stream/*cudaStream_t*/, flags/*unsigned int*/);
7+
// CUDAEVENTRECORDWITHFLAGS-NEXT: Is migrated to:
8+
// CUDAEVENTRECORDWITHFLAGS-NEXT: *event = flags->ext_oneapi_submit_barrier();

clang/test/dpct/query_api_mapping/Runtime/test.cu

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,6 @@
520520
// CUDARUNTIMEGETVERSION-NEXT: Is migrated to:
521521
// CUDARUNTIMEGETVERSION-NEXT: *pi = dpct::get_major_version(dpct::get_current_device());
522522

523-
// RUN: dpct --cuda-include-path="%cuda-path/include" -query-api-mapping=cudaEventRecordWithFlags | FileCheck %s -check-prefix=CUDAEVENTRECORDWITHFLAGS
524-
// CUDAEVENTRECORDWITHFLAGS: CUDA API:
525-
// CUDAEVENTRECORDWITHFLAGS-NEXT: cudaEventRecordWithFlags(event/*cudaEvent_t*/, stream/*cudaStream_t*/, flags/*unsigned int*/);
526-
// CUDAEVENTRECORDWITHFLAGS-NEXT: Is migrated to:
527-
// CUDAEVENTRECORDWITHFLAGS-NEXT: *event = flags->ext_oneapi_submit_barrier();
528523

529524
// RUN: dpct --cuda-include-path="%cuda-path/include" -query-api-mapping=cudaLaunchHostFunc | FileCheck %s -check-prefix=CUDALAUNCHHOSTFUNC
530525
// CUDALAUNCHHOSTFUNC: CUDA API:

0 commit comments

Comments
 (0)