Lines Matching refs:DEVICE
34 DEVICE void setExecutionParameters(ExecutionMode EMode, RuntimeMode RMode);
35 DEVICE bool isGenericMode();
36 DEVICE bool isSPMDMode();
37 DEVICE bool isRuntimeUninitialized();
38 DEVICE bool isRuntimeInitialized();
44 DEVICE bool checkSPMDMode(kmp_Ident *loc);
45 DEVICE bool checkGenericMode(kmp_Ident *loc);
46 DEVICE bool checkRuntimeUninitialized(kmp_Ident *loc);
47 DEVICE bool checkRuntimeInitialized(kmp_Ident *loc);
54 DEVICE int GetLogicalThreadIdInBlock(bool isSPMDExecutionMode);
55 DEVICE int GetMasterThreadID();
56 DEVICE int GetNumberOfWorkersInTeam();
59 DEVICE int GetOmpThreadId(int threadId,
61 DEVICE int GetOmpTeamId(); // omp_team_num
64 DEVICE int GetNumberOfOmpThreads(bool isSPMDExecutionMode); // omp_num_threads
65 DEVICE int GetNumberOfOmpTeams(); // omp_num_teams
68 DEVICE int GetNumberOfProcsInTeam(bool isSPMDExecutionMode);
69 DEVICE int GetNumberOfProcsInDevice(bool isSPMDExecutionMode);
72 DEVICE int IsTeamMaster(int ompThreadId);
75 DEVICE void IncParallelLevel(bool ActiveParallel, __kmpc_impl_lanemask_t Mask);
76 DEVICE void DecParallelLevel(bool ActiveParallel, __kmpc_impl_lanemask_t Mask);
83 DEVICE void *SafeMalloc(size_t size, const char *msg); // check if success
84 DEVICE void *SafeFree(void *ptr, const char *msg);
86 DEVICE unsigned long PadBytes(unsigned long size, unsigned long alignment);
95 DEVICE unsigned int *GetTeamsReductionTimestamp();
96 DEVICE char *GetTeamsReductionScratchpad();