16 lines
515 B
Cython
16 lines
515 B
Cython
|
|
cdef extern from "<execution>" namespace "std::execution" nogil:
|
|
cdef cppclass sequenced_policy:
|
|
pass
|
|
cdef cppclass parallel_policy:
|
|
pass
|
|
cdef cppclass parallel_unsequenced_policy:
|
|
pass
|
|
cdef cppclass unsequenced_policy:
|
|
pass
|
|
|
|
const sequenced_policy seq "std::execution::seq"
|
|
const parallel_policy par "std::execution::par"
|
|
const parallel_unsequenced_policy par_unseq "std::execution::par_unseq"
|
|
const unsequenced_policy unseq "std::execution::unseq"
|