Home
last modified time | relevance | path

Searched refs:numGangs (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/OpenACC/IR/
DOpenACC.cpp201 OptionalParseResult async, numGangs, numWorkers, vectorLength; in parseParallelOp() local
216 numGangs = parseOptionalOperandAndType( in parseParallelOp()
218 if (numGangs.hasValue() && failed(*numGangs)) in parseParallelOp()
328 static_cast<int32_t>(numGangs.hasValue() ? 1 : 0), in parseParallelOp()
367 if (Value numGangs = op.numGangs()) in print() local
368 printer << " " << ParallelOp::getNumGangsKeyword() << "(" << numGangs in print()
369 << ": " << numGangs.getType() << ")"; in print()
/external/llvm-project/flang/lib/Lower/
DOpenACC.cpp266 mlir::Value numGangs; in genACCParallelOp() local
318 numGangs = fir::getBase(converter.genExprValue( in genACCParallelOp()
404 addOperand(operands, operandSegments, numGangs); in genACCParallelOp()
/external/llvm-project/mlir/include/mlir/Dialect/OpenACC/
DOpenACCOps.td100 Optional<IntOrIndex>:$numGangs,
/external/llvm-project/mlir/test/Dialect/OpenACC/
Dops.mlir121 %numGangs = constant 10 : i64
125 …acc.parallel num_gangs(%numGangs: i64) num_workers(%numWorkers: i64) private(%c : memref<10xf32>) {