Skip to content

Commit f23ba5c

Browse files
authored
Update flang/test/Fir/CUDA/cuda-device-context.mlir
1 parent 9a4ab3d commit f23ba5c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flang/test/Fir/CUDA/cuda-device-context.mlir

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,10 @@ func.func @_QPsum_in_device(%arg0: !fir.ref<!fir.array<?xi32>> {cuf.data_attr =
4040
return
4141
}
4242

43+
// Check that intrinsic simplification is disable in CUDA Fortran context. The simplified intrinsic is
44+
// created in the module op but the device func will be migrated into a gpu module op resulting in a
45+
// missing symbol error.
46+
// The simplified intrinsic could also be migrated to the gpu module but the choice as not be made
47+
// at this point.
4348
// CHECK-LABEL: func.func @_QPsum_in_device
4449
// CHECK-NOT: fir.call @_FortranASumInteger4x1_contract_simplified

0 commit comments

Comments
 (0)