Home
last modified time | relevance | path

Searched refs:numThreads (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/test/offloading/
H A Datomic-compare-signedness.c20 int numThreads; in main() local
22 map(tofrom:xs, numThreads) in main()
27 numThreads = omp_get_num_threads(); in main()
29 printf("signed: num_threads=%d\n", numThreads); in main()
/llvm-project-15.0.7/openmp/runtime/test/atomic/
H A Domp-atomic-compare-signedness.c20 int numThreads; in main() local
26 numThreads = omp_get_num_threads(); in main()
28 printf("signed: num_threads=%d\n", numThreads); in main()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DTiling.cpp197 OpFoldResult numThreads, in canOmitTileOffsetInBoundsCheck() argument
200 Optional<int64_t> numThreadsConst = getConstantIntValue(numThreads); in canOmitTileOffsetInBoundsCheck()
220 RewriterBase &b, TilingInterface op, ArrayRef<OpFoldResult> numThreads, in tileToForeachThreadOpImpl() argument
237 llvm::to_vector(llvm::make_filter_range(numThreads, [](OpFoldResult ofr) { in tileToForeachThreadOpImpl()
264 bool overflow = loopIdx >= numThreads.size(); in tileToForeachThreadOpImpl()
265 bool isZero = !overflow && isConstantIntValue(numThreads[loopIdx], 0); in tileToForeachThreadOpImpl()
339 ArrayRef<OpFoldResult> numThreads, in tileToForeachThreadOp() argument
352 SmallVector<OpFoldResult> numThreads; in tileToForeachThreadOpUsingTileSizes() local
353 numThreads.reserve(nLoops); in tileToForeachThreadOpUsingTileSizes()
362 numThreads.push_back(numTiles); in tileToForeachThreadOpUsingTileSizes()
[all …]
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DInliner.cpp748 size_t numThreads = ctx->getNumThreads(); in optimizeSCCAsync() local
749 if (opPipelines.size() < numThreads) { in optimizeSCCAsync()
752 opPipelines.reserve(numThreads); in optimizeSCCAsync()
753 opPipelines.resize(numThreads, opPipelines.front()); in optimizeSCCAsync()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp1138 ValueRange numThreads, in build() argument
1140 result.addOperands(numThreads); in build()
1153 SmallVector<Type>(numThreads.size(), builder.getIndexType()), in build()
1154 SmallVector<Location>(numThreads.size(), result.location)); in build()
1163 ValueRange numThreads, ArrayRef<int64_t> threadDimMapping, in build() argument
1165 result.addOperands(numThreads); in build()
1175 SmallVector<Type>(numThreads.size(), builder.getIndexType()), in build()
1176 SmallVector<Location>(numThreads.size(), result.location)); in build()
/llvm-project-15.0.7/openmp/runtime/tools/
H A DsummarizeStats.py305 numThreads = tmp[s]['SampleCount']['Total_OMP_parallel']
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenMP/
H A DOpenMPToLLVMIRTranslation.cpp289 llvm::Value *numThreads = nullptr; in convertOmpParallel() local
291 numThreads = moduleTranslation.lookupValue(numThreadsVar); in convertOmpParallel()
302 ompLoc, allocaIP, bodyGenCB, privCB, finiCB, ifCond, numThreads, pbKind, in convertOmpParallel()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/TransformOps/
H A DLinalgTransformOps.cpp1012 if (Optional<ArrayAttr> numThreads = getNumThreads()) in applyToOne() local
1014 rewriter, target, getAsOpFoldResult(*numThreads), dimMapping); in applyToOne()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/Transforms/
H A DTransforms.h470 ArrayRef<OpFoldResult> numThreads,