/external/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/parallel/ |
D | thread_limit.c | 7 const int ThreadLimit = 1 * WarpSize; variable 22 #pragma omp target teams num_teams(1) thread_limit(ThreadLimit) \ in main() 51 if (i < ThreadLimit) { in main() 52 if (check1[i] != ThreadLimit) { in main() 53 printf("invalid: check1[%d] should be %d, is %d\n", i, ThreadLimit, check1[i]); in main() 59 if (i < ThreadLimit) { in main() 60 if (check2[i] != ThreadLimit) { in main() 61 printf("invalid: check2[%d] should be %d, is %d\n", i, ThreadLimit, check2[i]); in main() 67 if (i < ThreadLimit) { in main() 68 if (check3[i] != ThreadLimit) { in main() [all …]
|
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/ |
D | omptarget.cu | 28 EXTERN void __kmpc_kernel_init(int ThreadLimit, int16_t RequiresOMPRuntime) { in __kmpc_kernel_init() argument 65 threadLimit = ThreadLimit; in __kmpc_kernel_init() 81 EXTERN void __kmpc_spmd_kernel_init(int ThreadLimit, int16_t RequiresOMPRuntime) { in __kmpc_spmd_kernel_init() argument 136 (int)newTaskDescr->ThreadId(), (int)ThreadLimit); in __kmpc_spmd_kernel_init()
|
D | parallel.cu | 44 uint16_t ThreadLimit) { in determineNumberOfThreads() argument 51 if (ThreadLimit != 0 && ThreadLimit < ThreadsAvailable) { in determineNumberOfThreads() 52 ThreadsAvailable = ThreadLimit; in determineNumberOfThreads()
|
/external/llvm-project/openmp/libomptarget/include/ |
D | omptargetplugin.h | 123 int32_t NumTeams, int32_t ThreadLimit, 129 int32_t NumTeams, int32_t ThreadLimit, uint64_t loop_tripcount,
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeNVPTX.h | 146 const Expr *ThreadLimit, SourceLocation Loc) override;
|
D | CGOpenMPRuntimeNVPTX.cpp | 358 const Expr *ThreadLimit, in emitNumTeamsClause() argument
|
D | CGOpenMPRuntime.h | 998 const Expr *ThreadLimit, SourceLocation Loc);
|
D | CGOpenMPRuntime.cpp | 4942 llvm::Value *ThreadLimit = CGF.EmitScalarExpr(TLE->getThreadLimit()); in emitThreadLimitClauseForTargetDirective() local 4943 return CGF.Builder.CreateIntCast(ThreadLimit, CGF.Int32Ty, in emitThreadLimitClauseForTargetDirective() 5826 auto *ThreadLimit = emitThreadLimitClauseForTargetDirective(RT, CGF, D); in emitTargetCall() local 5835 assert(ThreadLimit && "Thread limit expression should be available along " in emitTargetCall() 5840 MapTypesArray, NumTeams, ThreadLimit}; in emitTargetCall() 6032 const Expr *ThreadLimit, in emitNumTeamsClause() argument 6046 (ThreadLimit) in emitNumTeamsClause() 6047 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(ThreadLimit), in emitNumTeamsClause()
|
D | CGStmtOpenMP.cpp | 3331 Expr *ThreadLimit = (TL) ? TL->getThreadLimit() : nullptr; in emitCommonOMPTeamsDirective() local 3333 CGF.CGM.getOpenMPRuntime().emitNumTeamsClause(CGF, NumTeams, ThreadLimit, in emitCommonOMPTeamsDirective()
|
/external/llvm-project/openmp/libomptarget/src/ |
D | private.h | 39 void **ArgMappers, int32_t TeamNum, int32_t ThreadLimit,
|
D | device.cpp | 477 int32_t NumTeams, int32_t ThreadLimit, in runTeamRegion() argument 482 TgtOffsets, TgtVarsSize, NumTeams, ThreadLimit, in runTeamRegion() 487 ThreadLimit, LoopTripCount, AsyncInfoPtr); in runTeamRegion()
|
D | device.h | 223 int32_t NumTeams, int32_t ThreadLimit,
|
D | omptarget.cpp | 1214 int32_t ThreadLimit, int IsTeamConstruct) { in target() argument 1261 TgtArgs.size(), TeamNum, ThreadLimit, in target()
|
/external/llvm-project/openmp/libomptarget/plugins/cuda/src/ |
D | rtl.cpp | 847 const int TeamNum, const int ThreadLimit, in runTargetTeamRegion() argument 866 if (ThreadLimit > 0) { in runTargetTeamRegion() 867 DP("Setting CUDA threads per block to requested %d\n", ThreadLimit); in runTargetTeamRegion() 868 CudaThreadsPerBlock = ThreadLimit; in runTargetTeamRegion()
|
/external/llvm-project/openmp/libomptarget/deviceRTLs/ |
D | interface.h | 422 EXTERN void __kmpc_kernel_init(int ThreadLimit, int16_t RequiresOMPRuntime); 424 EXTERN void __kmpc_spmd_kernel_init(int ThreadLimit,
|
/external/clang/include/clang/AST/ |
D | OpenMPClause.h | 3519 Stmt *ThreadLimit; variable 3524 void setThreadLimit(Expr *E) { ThreadLimit = E; } in setThreadLimit() 3537 ThreadLimit(E) {} in OMPThreadLimitClause() 3543 LParenLoc(SourceLocation()), ThreadLimit(nullptr) {} in OMPThreadLimitClause() 3549 Expr *getThreadLimit() { return cast<Expr>(ThreadLimit); } in getThreadLimit() 3551 Expr *getThreadLimit() const { return cast<Expr>(ThreadLimit); } in getThreadLimit() 3557 child_range children() { return child_range(&ThreadLimit, &ThreadLimit + 1); } in children()
|
/external/llvm-project/flang/lib/Semantics/ |
D | check-omp-structure.h | 147 void Enter(const parser::OmpClause::ThreadLimit &);
|
D | check-omp-structure.cpp | 390 CHECK_REQ_SCALAR_INT_CLAUSE(ThreadLimit, OMPC_thread_limit) in CHECK_SIMPLE_CLAUSE()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeGPU.h | 234 const Expr *ThreadLimit, SourceLocation Loc) override;
|
D | CGOpenMPRuntime.h | 1623 const Expr *ThreadLimit, SourceLocation Loc); 2433 const Expr *ThreadLimit, SourceLocation Loc) override;
|
D | CGOpenMPRuntime.cpp | 6815 llvm::Value *ThreadLimit = CGF.EmitScalarExpr( in emitNumThreadsForTargetDirective() local 6818 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false); in emitNumThreadsForTargetDirective() 6842 llvm::Value *ThreadLimit = CGF.EmitScalarExpr( in emitNumThreadsForTargetDirective() local 6845 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false); in emitNumThreadsForTargetDirective() 6865 llvm::Value *ThreadLimit = CGF.EmitScalarExpr( in emitNumThreadsForTargetDirective() local 6868 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false); in emitNumThreadsForTargetDirective() 6903 llvm::Value *ThreadLimit = CGF.EmitScalarExpr( in emitNumThreadsForTargetDirective() local 6906 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false); in emitNumThreadsForTargetDirective() 10710 const Expr *ThreadLimit, in emitNumTeamsClause() argument 10724 ThreadLimit in emitNumTeamsClause() [all …]
|
D | CGStmtOpenMP.cpp | 5593 const Expr *ThreadLimit = TL ? TL->getThreadLimit() : nullptr; in emitCommonOMPTeamsDirective() local 5595 CGF.CGM.getOpenMPRuntime().emitNumTeamsClause(CGF, NumTeams, ThreadLimit, in emitCommonOMPTeamsDirective()
|
/external/llvm-project/openmp/libomptarget/plugins/ve/src/ |
D | rtl.cpp | 406 int32_t NumTeams, int32_t ThreadLimit, in __tgt_rtl_run_target_team_region() argument
|
/external/llvm-project/clang/include/clang/AST/ |
D | OpenMPClause.h | 5716 Stmt *ThreadLimit = nullptr; variable 5721 void setThreadLimit(Expr *E) { ThreadLimit = E; } in setThreadLimit() 5738 OMPClauseWithPreInit(this), LParenLoc(LParenLoc), ThreadLimit(E) { in OMPThreadLimitClause() 5755 Expr *getThreadLimit() { return cast<Expr>(ThreadLimit); } in getThreadLimit() 5758 Expr *getThreadLimit() const { return cast<Expr>(ThreadLimit); } in getThreadLimit() 5760 child_range children() { return child_range(&ThreadLimit, &ThreadLimit + 1); } in children() 5763 return const_child_range(&ThreadLimit, &ThreadLimit + 1); in children()
|
/external/llvm-project/flang/lib/Parser/ |
D | openmp-parsers.cpp | 234 "THREAD_LIMIT" >> construct<OmpClause>(construct<OmpClause::ThreadLimit>(
|