Home
last modified time | relevance | path

Searched refs:ASSERT0 (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dtask.cu55 ASSERT0(LT_FUSSY, in __kmpc_omp_task_alloc()
85 ASSERT0(LT_FUSSY, checkRuntimeInitialized(loc), in __kmpc_omp_task_with_deps()
91 ASSERT0(LT_FUSSY, &newExplicitTaskDescr->kmpTaskDescr == newKmpTaskDescr, in __kmpc_omp_task_with_deps()
94 ASSERT0(LT_FUSSY, (uint64_t)newTaskDescr == (uint64_t)newExplicitTaskDescr, in __kmpc_omp_task_with_deps()
124 ASSERT0(LT_FUSSY, checkRuntimeInitialized(loc), in __kmpc_omp_task_begin_if0()
130 ASSERT0(LT_FUSSY, &newExplicitTaskDescr->kmpTaskDescr == newKmpTaskDescr, in __kmpc_omp_task_begin_if0()
133 ASSERT0(LT_FUSSY, (uint64_t)newTaskDescr == (uint64_t)newExplicitTaskDescr, in __kmpc_omp_task_begin_if0()
150 ASSERT0(LT_FUSSY, checkRuntimeInitialized(loc), in __kmpc_omp_task_complete_if0()
156 ASSERT0(LT_FUSSY, &newExplicitTaskDescr->kmpTaskDescr == newKmpTaskDescr, in __kmpc_omp_task_complete_if0()
159 ASSERT0(LT_FUSSY, (uint64_t)newTaskDescr == (uint64_t)newExplicitTaskDescr, in __kmpc_omp_task_complete_if0()
Dparallel.cu86 ASSERT0(LT_FUSSY, currTaskDescr, "expected a top task descr"); in __kmpc_kernel_prepare_parallel()
87 ASSERT0(LT_FUSSY, !currTaskDescr->InParallelRegion(), in __kmpc_kernel_prepare_parallel()
107 ASSERT0(LT_FUSSY, GetThreadIdInBlock() == GetMasterThreadID(), in __kmpc_kernel_prepare_parallel()
144 ASSERT0(LT_FUSSY, newTaskDescr, "expected a task descr"); in __kmpc_kernel_parallel()
174 ASSERT0(LT_FUSSY, isRuntimeInitialized(), "Expected initialized runtime."); in __kmpc_kernel_end_parallel()
205 ASSERT0(LT_FUSSY, checkSPMDMode(loc), in __kmpc_serialized_parallel()
244 ASSERT0(LT_FUSSY, checkSPMDMode(loc), in __kmpc_end_serialized_parallel()
283 ASSERT0(LT_FUSSY, checkRuntimeInitialized(loc), "Runtime must be initialized."); in __kmpc_push_num_threads()
295 ASSERT0(LT_FUSSY, 0, in __kmpc_push_num_teams()
Ddata_sharing.cu25 ASSERT0(LT_FUSSY, isRuntimeInitialized(), "Runtime must be initialized."); in data_sharing_init_stack_common()
41 ASSERT0(LT_FUSSY, isRuntimeInitialized(), "Runtime must be initialized."); in __kmpc_data_sharing_init_stack()
53 ASSERT0(LT_FUSSY, isRuntimeInitialized(), "Runtime must be initialized."); in __kmpc_data_sharing_init_stack_spmd()
64 ASSERT0(LT_FUSSY, isRuntimeInitialized(), "Expected initialized runtime."); in data_sharing_push_stack_common()
175 ASSERT0(LT_FUSSY, isRuntimeInitialized(), "Expected initialized runtime."); in __kmpc_data_sharing_pop_stack()
255 ASSERT0(LT_FUSSY, GetThreadIdInBlock() == GetMasterThreadID(), in __kmpc_get_team_static_memory()
273 ASSERT0(LT_FUSSY, GetThreadIdInBlock() == GetMasterThreadID(), in __kmpc_restore_team_static_memory()
Domptarget.cu31 ASSERT0(LT_FUSSY, RequiresOMPRuntime, in __kmpc_kernel_init()
38 ASSERT0(LT_FUSSY, threadIdInBlock == GetMasterThreadID(), in __kmpc_kernel_init()
71 ASSERT0(LT_FUSSY, IsOMPRuntimeInitialized, in __kmpc_kernel_deinit()
126 ASSERT0(LT_FUSSY, newTaskDescr, "expected a task descr"); in __kmpc_spmd_kernel_init()
Dlibcall.cu34 ASSERT0(LT_FUSSY, isRuntimeInitialized(), "Expected initialized runtime."); in omp_set_num_threads()
57 ASSERT0(LT_FUSSY, rc >= 0, "bad number of threads"); in omp_get_max_threads()
158 ASSERT0(LT_FUSSY, currTaskDescr, in omp_get_ancestor_thread_num()
185 ASSERT0(LT_FUSSY, !steps, "expected to find all steps"); in omp_get_ancestor_thread_num()
220 ASSERT0(LT_FUSSY, isSPMDMode(), in omp_get_schedule()
238 ASSERT0(LT_FUSSY, isSPMDMode(), in omp_set_schedule()
Dsync.cu45 ASSERT0(LT_FUSSY, checkSPMDMode(loc_ref), in __kmpc_barrier()
92 ASSERT0(LT_FUSSY, IsTeamMaster(global_tid), "expected only master here"); in __kmpc_end_master()
108 ASSERT0(LT_FUSSY, IsTeamMaster(global_tid), "expected only master here"); in __kmpc_end_single()
Dloop.cu115 ASSERT0(LT_FUSSY, gtid < numberOfActiveOMPThreads, in for_static_init()
141 ASSERT0(LT_FUSSY, ub >= lb, "ub must be >= lb."); in for_static_init()
209 ASSERT0(LT_FUSSY, checkSPMDMode(loc), "Expected non-SPMD mode."); in dispatch_init()
216 ASSERT0(LT_FUSSY, threadId < tnum, in dispatch_init()
279 ASSERT0(LT_FUSSY, chunk > 0, "bad chunk value"); in dispatch_init()
302 ASSERT0(LT_FUSSY, chunk > 0, "bad chunk value"); in dispatch_init()
317 ASSERT0(LT_FUSSY, ub >= lb, "ub must be >= lb."); in dispatch_init()
334 ASSERT0(LT_FUSSY, chunk == 0, "bad chunk value"); in dispatch_init()
446 ASSERT0(LT_FUSSY, checkSPMDMode(loc), "Expected non-SPMD mode."); in dispatch_next()
456 ASSERT0(LT_FUSSY, gtid < GetNumberOfOmpThreads(checkSPMDMode(loc)), in dispatch_next()
[all …]
Dsupport.cu148 ASSERT0(LT_FUSSY, currTaskDescr, "expected a top task descr"); in GetOmpThreadId()
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/
Domptargeti.h87 ASSERT0(LT_FUSSY, IsTaskConstruct(), "expected task"); in CopyForExplicitTask()
153 ASSERT0( in GetTopLevelTaskDescr()
207 ASSERT0(LT_FUSSY, usedSlotIdx < MAX_SM, in Release()
209 ASSERT0(LT_FUSSY, usedMemIdx < OMP_STATE_COUNT, in Release()
217 ASSERT0(LT_FUSSY, usedSlotIdx < MAX_SM, in Acquire()
Ddebug.h217 #define ASSERT0(_flag, _cond, _str) \ macro
233 #define ASSERT0(_flag, _cond, _str) \ macro
250 #define ASSERT0(_flag, _cond, _str) macro