| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][flang] Add an interface of OpenACC compute regions for further getAllocaBlock support (#100675) This PR implements ComputeRegionOpInterface to define getAllocaBlock of OpenACC loop and compute constructs (parallel/kernels/serial). The primary objective here is to accommodate local variables in OpenACC compute regions. The change in fir::FirOpBuilder::getAllocaBlock allows local variable allocation inside loops and kernels. | 2 年前 | |
[mlir][acc][flang] Introduce OpenACC interfaces for globals (#168614) Introduce two new OpenACC operation interfaces for identifying global variables and their address computations: - GlobalVariableOpInterface: Identifies operations that define global variables. Provides an isConstant() method to query whether the global is constant. - AddressOfGlobalOpInterface: Identifies operations that compute the address of a global variable. Provides a getSymbol() method to retrieve the symbol reference. This is being done in preparation for ACCImplicitDeclare pass which will automatically ensure that acc declare is applied to globals when needed. The following operations now implement these interfaces: - memref::GlobalOp implements GlobalVariableOpInterface - memref::GetGlobalOp implements AddressOfGlobalOpInterface - fir::GlobalOp implements GlobalVariableOpInterface - fir::AddrOfOp implements AddressOfGlobalOpInterface | 9 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 9 个月前 |