1#ifndef MADNESS_PARSEC_INCLUED
2#define MADNESS_PARSEC_INCLUED
9#include <parsec/parsec_config.h>
10#include <parsec/parsec_internal.h>
11#include <parsec/mca/device/device.h>
12#include <parsec/execution_stream.h>
13#include <parsec/scheduling.h>
20 class PoolTaskInterface;
24 static parsec_context_t *ctx;
25 static std::optional<bool> made_new_ctx;
26 static parsec_taskpool_t *tp;
27 static bool parsec_restart_taskpool;
28 static parsec_execution_stream_t *madness_comm_thread_es;
29#ifdef PARSEC_PROF_TRACE
30 static int taskpool_profiling_array[2];
34 ParsecRuntime(
int nb_threads);
37 static parsec_context_t* context();
38 static void initialize_with_existing_context(parsec_context_t* ctx);
39 static parsec_execution_stream_t *execution_stream();
40 static void schedule(PoolTaskInterface*
task);
43 static parsec_task_t *
task(
bool is_high_priority,
void *ptr);
44 static void delete_parsec_task(parsec_task_t *t);
Macros and tools pertaining to the configuration of MADNESS.
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
int task(int i)
Definition test_runtime.cpp:4
void test()
Definition y.cc:696