File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,6 @@ bool types::isAcceptedByFlang(ID Id) {
170
170
case TY_LLVM_IR:
171
171
case TY_LLVM_BC:
172
172
return true ;
173
- case TY_PP_CUDA:
174
- case TY_CUDA:
175
- return true ;
176
173
}
177
174
}
178
175
Original file line number Diff line number Diff line change 1
1
! Test -fcuda option
2
2
! RUN: %flang_fc1 -cpp -x cuda -fdebug-unparse %s -o - | FileCheck %s
3
- ! RUN: not %flang -cpp -x cuda %s -o - 2>&1 | FileCheck %s --check-prefix=MLIRERROR
4
3
! RUN: not %flang_fc1 -cpp %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
5
4
program main
6
5
#if _CUDA
@@ -13,8 +12,4 @@ program main
13
12
! CHECK: INTEGER :: var = 1
14
13
! CHECK: INTEGER, DEVICE :: dvar
15
14
16
- ! ERROR: cuda-option.f90:{{.*}}:{{.*}}: error: expected end of statement
17
-
18
- ! The whole pipeline is not in place yet. It will currently fail at MLIR
19
- ! translation level.
20
- ! MLIRERROR: failed to legalize operation 'cuf.alloc'
15
+ ! ERROR: cuda-option.f90:8:19: error: expected end of statement
You can’t perform that action at this time.
0 commit comments