1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#[cfg(any(
    feature = "gillespie-algorithms",
    feature = "independent-algorithm",
    feature = "cuda-algorithm"
))]
mod valid;

#[cfg(not(any(
    feature = "gillespie-algorithms",
    feature = "independent-algorithm",
    feature = "cuda-algorithm"
)))]
mod fallback;

#[cfg(any(
    feature = "gillespie-algorithms",
    feature = "independent-algorithm",
    feature = "cuda-algorithm"
))]
pub(super) use valid::dispatch;

#[cfg(not(any(
    feature = "gillespie-algorithms",
    feature = "independent-algorithm",
    feature = "cuda-algorithm"
)))]
pub(super) use fallback::dispatch;