Searched refs:GetMasterThreadID (Results 1 – 6 of 6) sorted by relevance
109 DEVICE int GetMasterThreadID() { return (GetNumberOfThreadsInBlock() - 1) & ~(WARPSIZE - 1); } in GetMasterThreadID() function113 DEVICE int GetNumberOfWorkersInTeam() { return GetMasterThreadID(); } in GetNumberOfWorkersInTeam()126 if (!isSPMDExecutionMode && tid >= GetMasterThreadID()) in GetLogicalThreadIdInBlock()
17 return !isSPMDExecutionMode && GetMasterThreadID() == GetThreadIdInBlock(); in IsMasterThread()255 ASSERT0(LT_FUSSY, GetThreadIdInBlock() == GetMasterThreadID(), in __kmpc_get_team_static_memory()273 ASSERT0(LT_FUSSY, GetThreadIdInBlock() == GetMasterThreadID(), in __kmpc_restore_team_static_memory()
38 ASSERT0(LT_FUSSY, threadIdInBlock == GetMasterThreadID(), in __kmpc_kernel_init()
107 ASSERT0(LT_FUSSY, GetThreadIdInBlock() == GetMasterThreadID(), in __kmpc_kernel_prepare_parallel()
196 if (checkGenericMode(loc) && GetThreadIdInBlock() != GetMasterThreadID()) in __kmpc_nvptx_teams_reduce_nowait_v2()
55 DEVICE int GetMasterThreadID();