[flang-commits] [flang] [llvm] [flang][cuda] Mark cuf.device_is_active as a read-only query (PR #233987)
Zhen Wang via flang-commits
flang-commits at lists.llvm.org
Tue Oct 20 14:55:51 PDT 2026
wangzpgi wrote:
> Is there an MLIR dialect operation that can activate/deactivate the device? If so, we need to make sure it writes to the same resource.
I could not find one. The context is only torn down by a user call such as cudaDeviceReset, an ordinary fir.call with unknown effects, so it still orders against the query. Please let me know if I am missing an operation.
https://github.com/llvm/llvm-project/pull/233987
More information about the flang-commits
mailing list