Home
last modified time | relevance | path

Searched refs:NumTeams (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm-project/openmp/libomptarget/include/
Domptargetplugin.h123 int32_t NumTeams, int32_t ThreadLimit,
129 int32_t NumTeams, int32_t ThreadLimit, uint64_t loop_tripcount,
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dreduction.cu208 uint32_t NumTeams = GetNumberOfBlocksInKernel(); in __kmpc_nvptx_teams_reduce_nowait_v2() local
263 unsigned NumRecs = __kmpc_impl_min(NumTeams, uint32_t(num_of_records)); in __kmpc_nvptx_teams_reduce_nowait_v2()
264 if (ChunkTeamCount == NumTeams - Bound - 1) { in __kmpc_nvptx_teams_reduce_nowait_v2()
/external/llvm-project/openmp/libomptarget/plugins/cuda/src/
Drtl.cpp127 int NumTeams = 0; member
514 DeviceData[DeviceId].NumTeams = EnvNumTeams; in initDevice()
516 DeviceData[DeviceId].NumTeams = DeviceRTLTy::DefaultNumTeams; in initDevice()
521 if (DeviceData[DeviceId].NumTeams > DeviceData[DeviceId].BlocksPerGrid) { in initDevice()
524 DeviceData[DeviceId].NumTeams = DeviceData[DeviceId].BlocksPerGrid; in initDevice()
535 DeviceData[DeviceId].NumTeams = DeviceData[DeviceId].ThreadsPerBlock; in initDevice()
928 DP("Using default number of teams %d\n", DeviceData[DeviceId].NumTeams); in runTargetTeamRegion()
929 CudaBlocksPerGrid = DeviceData[DeviceId].NumTeams; in runTargetTeamRegion()
/external/clang/lib/CodeGen/
DCGOpenMPRuntimeNVPTX.h145 void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
DCGOpenMPRuntimeNVPTX.cpp357 const Expr *NumTeams, in emitNumTeamsClause() argument
DCGOpenMPRuntime.h997 virtual void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
DCGOpenMPRuntime.cpp4893 llvm::Value *NumTeams = CGF.EmitScalarExpr(NTE->getNumTeams()); in emitNumTeamsClauseForTargetDirective() local
4894 return CGF.Builder.CreateIntCast(NumTeams, CGF.Int32Ty, in emitNumTeamsClauseForTargetDirective()
5825 auto *NumTeams = emitNumTeamsClauseForTargetDirective(RT, CGF, D); in emitTargetCall() local
5834 if (NumTeams) { in emitTargetCall()
5840 MapTypesArray, NumTeams, ThreadLimit}; in emitTargetCall()
6031 const Expr *NumTeams, in emitNumTeamsClause() argument
6040 (NumTeams) in emitNumTeamsClause()
6041 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(NumTeams), in emitNumTeamsClause()
DCGStmtOpenMP.cpp3330 Expr *NumTeams = (NT) ? NT->getNumTeams() : nullptr; in emitCommonOMPTeamsDirective() local
3333 CGF.CGM.getOpenMPRuntime().emitNumTeamsClause(CGF, NumTeams, ThreadLimit, in emitCommonOMPTeamsDirective()
/external/llvm-project/openmp/libomptarget/src/
Ddevice.cpp477 int32_t NumTeams, int32_t ThreadLimit, in runTeamRegion() argument
482 TgtOffsets, TgtVarsSize, NumTeams, ThreadLimit, in runTeamRegion()
486 TgtOffsets, TgtVarsSize, NumTeams, in runTeamRegion()
Ddevice.h223 int32_t NumTeams, int32_t ThreadLimit,
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/
Drtl.cpp324 std::vector<int> NumTeams; member in RTLDeviceInfoTy
477 NumTeams.resize(NumberOfDevices); in RTLDeviceInfoTy()
748 DeviceInfo.NumTeams[device_id] = DeviceInfo.EnvNumTeams; in __tgt_rtl_init_device()
752 DeviceInfo.NumTeams[device_id] = RTLDeviceInfoTy::DefaultNumTeams; in __tgt_rtl_init_device()
757 if (DeviceInfo.NumTeams[device_id] > DeviceInfo.GroupsPerDevice[device_id]) { in __tgt_rtl_init_device()
758 DeviceInfo.NumTeams[device_id] = DeviceInfo.GroupsPerDevice[device_id]; in __tgt_rtl_init_device()
769 DeviceInfo.NumTeams[device_id] = DeviceInfo.ThreadsPerGroup[device_id]; in __tgt_rtl_init_device()
/external/clang/include/clang/AST/
DOpenMPClause.h3464 Stmt *NumTeams; variable
3469 void setNumTeams(Expr *E) { NumTeams = E; } in setNumTeams()
3482 NumTeams(E) {} in OMPNumTeamsClause()
3488 LParenLoc(SourceLocation()), NumTeams(nullptr) {} in OMPNumTeamsClause()
3494 Expr *getNumTeams() { return cast<Expr>(NumTeams); } in getNumTeams()
3496 Expr *getNumTeams() const { return cast<Expr>(NumTeams); } in getNumTeams()
3502 child_range children() { return child_range(&NumTeams, &NumTeams + 1); } in children()
/external/llvm-project/flang/lib/Semantics/
Dcheck-omp-structure.h139 void Enter(const parser::OmpClause::NumTeams &);
Dcheck-omp-structure.cpp387 CHECK_REQ_SCALAR_INT_CLAUSE(NumTeams, OMPC_num_teams) in CHECK_SIMPLE_CLAUSE()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.h233 void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
DCGOpenMPRuntime.h1622 virtual void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
2432 void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
DCGOpenMPRuntime.cpp6574 const Expr *NumTeams = in emitNumTeamsForTargetDirective() local
6577 CGF.EmitScalarExpr(NumTeams, in emitNumTeamsForTargetDirective()
6598 const Expr *NumTeams = in emitNumTeamsForTargetDirective() local
6601 CGF.EmitScalarExpr(NumTeams, in emitNumTeamsForTargetDirective()
9965 llvm::Value *NumTeams = emitNumTeamsForTargetDirective(CGF, D); in emitTargetCall() local
10001 if (NumTeams) { in emitTargetCall()
10020 NumTeams, in emitTargetCall()
10709 const Expr *NumTeams, in emitNumTeamsClause() argument
10718 NumTeams in emitNumTeamsClause()
10719 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(NumTeams), in emitNumTeamsClause()
[all …]
DCGStmtOpenMP.cpp5592 const Expr *NumTeams = NT ? NT->getNumTeams() : nullptr; in emitCommonOMPTeamsDirective() local
5595 CGF.CGM.getOpenMPRuntime().emitNumTeamsClause(CGF, NumTeams, ThreadLimit, in emitCommonOMPTeamsDirective()
DCGOpenMPRuntimeGPU.cpp1548 const Expr *NumTeams, in emitNumTeamsClause() argument
/external/llvm-project/openmp/libomptarget/plugins/ve/src/
Drtl.cpp406 int32_t NumTeams, int32_t ThreadLimit, in __tgt_rtl_run_target_team_region() argument
/external/llvm-project/clang/include/clang/AST/
DOpenMPClause.h5640 Stmt *NumTeams = nullptr; variable
5645 void setNumTeams(Expr *E) { NumTeams = E; } in setNumTeams()
5661 OMPClauseWithPreInit(this), LParenLoc(LParenLoc), NumTeams(E) { in OMPNumTeamsClause()
5678 Expr *getNumTeams() { return cast<Expr>(NumTeams); } in getNumTeams()
5681 Expr *getNumTeams() const { return cast<Expr>(NumTeams); } in getNumTeams()
5683 child_range children() { return child_range(&NumTeams, &NumTeams + 1); } in children()
5686 return const_child_range(&NumTeams, &NumTeams + 1); in children()
/external/llvm-project/flang/lib/Parser/
Dopenmp-parsers.cpp207 "NUM_TEAMS" >> construct<OmpClause>(construct<OmpClause::NumTeams>(
/external/clang/lib/Sema/
DSemaOpenMP.cpp11295 OMPClause *Sema::ActOnOpenMPNumTeamsClause(Expr *NumTeams, in ActOnOpenMPNumTeamsClause() argument
11299 Expr *ValExpr = NumTeams; in ActOnOpenMPNumTeamsClause()
DTreeTransform.h1686 OMPClause *RebuildOMPNumTeamsClause(Expr *NumTeams, SourceLocation StartLoc, in RebuildOMPNumTeamsClause() argument
1689 return getSema().ActOnOpenMPNumTeamsClause(NumTeams, StartLoc, LParenLoc, in RebuildOMPNumTeamsClause()
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h1925 OMPClause *RebuildOMPNumTeamsClause(Expr *NumTeams, SourceLocation StartLoc, in RebuildOMPNumTeamsClause() argument
1928 return getSema().ActOnOpenMPNumTeamsClause(NumTeams, StartLoc, LParenLoc, in RebuildOMPNumTeamsClause()

12