[Mlir-commits] [mlir] [mlir][gpu][RFC] Add a source language enum attribute to gpu.func and gpu.launch ops (PR #133163)

Guray Ozen llvmlistbot at llvm.org
Wed Mar 26 14:12:45 PDT 2025


grypp wrote:

> The kernel launch for OpenACC and CUDA Fortran are using different mechanism

Can you elaborate on that? We have the following cases:

1. Only CUDA Fortran
2. Only OpenACC
3. CUDA Fortran + OpenACC together

The only difference I can guess is the CUDA runtime vs. the CUDA driver. The 1st and 3rd use the CUDA runtime, and the 2nd uses the CUDA driver. I might be wrong here. Is that why you need to know the programming model?

https://github.com/llvm/llvm-project/pull/133163


More information about the Mlir-commits mailing list