1#include "cudify_hardware_cpu.hpp"
2#ifdef HAVE_BOOST_CONTEXT
3#include <boost/context/continuation.hpp>
9#include "alpala/cudify_hardware_alpaka.hpp"
14#if defined(CUDIFY_USE_SEQUENTIAL) || defined(CUDIFY_USE_OPENMP)
16thread_local dim3 threadIdx;
17thread_local dim3 blockIdx;
19unsigned int * tid_x[OPENMP_MAX_NUM_THREADS];
20unsigned int * tid_y[OPENMP_MAX_NUM_THREADS];
21unsigned int * tid_z[OPENMP_MAX_NUM_THREADS];
28bool init_wrappers_call =
false;
30thread_local int vct_atomic_add;
31thread_local int vct_atomic_rem;
35#ifdef HAVE_BOOST_CONTEXT
36std::vector<void *> mem_stack;
38std::vector<boost::context::detail::fcontext_t> contexts;
39thread_local void * par_glob;
40thread_local boost::context::detail::fcontext_t main_ctx;