Files
clang-p2996/flang/lib/Optimizer/Transforms/CufOpConversion.cpp
Valentin Clement (バレンタイン クレメン) 841327db4e [flang][cuda] Convert cuf.alloc for box to fir.alloca in device context (#102662)
In device context managed memory is not available so it makes no sense
to allocate the descriptor using it. Fall back to fir.alloca as it is
handled well in device code.
cuf.free is just dropped.
2024-08-09 13:41:51 -07:00

11 KiB