5#ifndef MUDA_COMPUTE_GRAPH_ON
6#define MUDA_COMPUTE_GRAPH_ON 0
11constexpr bool RUNTIME_CHECK_ON = MUDA_CHECK_ON;
12constexpr bool COMPUTE_GRAPH_ON = MUDA_COMPUTE_GRAPH_ON;
15 constexpr bool on(
bool cond =
false)
17 return cond && RUNTIME_CHECK_ON;
21constexpr bool DEBUG_VIEWER = config::on(
true);
23constexpr bool TRAP_ON_ERROR = config::on(
true);
25constexpr int LIGHT_WORKLOAD_BLOCK_SIZE = 256;
27constexpr int MIDDLE_WORKLOAD_BLOCK_SIZE = 128;
29constexpr int HEAVY_WORKLOAD_BLOCK_SIZE = 64;