llvm-project
c2fc3320 - [flang][cuda] Add c_devptr and bypass output semantic check (#107318)

Commit
1 year ago
[flang][cuda] Add c_devptr and bypass output semantic check (#107318) Add a builtin type for c_devptr since it will need some special handling for some function like c_f_pointer. `c_ptr` is defined as a builtin type and was raising a semantic error if you try to use it in a I/O statement. This patch add a check for c_ptr and c_devptr to bypass the semantic check and allow the variables of these types to be used in I/O.
Author
Parents
Loading