12 #ifndef PLSSVM_CONSTANTS_HPP_
13 #define PLSSVM_CONSTANTS_HPP_
22 #if defined(PLSSVM_THREAD_BLOCK_SIZE)
29 #if defined(PLSSVM_INTERNAL_BLOCK_SIZE)
36 #if defined(PLSSVM_OPENMP_BLOCK_SIZE)
43 static_assert(
THREAD_BLOCK_SIZE > 0,
"THREAD_BLOCK_SIZE must be greater than 0!");
45 static_assert(
OPENMP_BLOCK_SIZE > 0,
"OPENMP_BLOCK_SIZE must be greater than 0!");
The main namespace containing all public API functions.
Definition: backend_types.hpp:24
constexpr kernel_index_type OPENMP_BLOCK_SIZE
Global compile-time constant used for internal caching in the OpenMP kernel. May be changed during th...
Definition: constants.hpp:39
constexpr kernel_index_type THREAD_BLOCK_SIZE
Global compile-time constant used for internal caching. May be changed during the CMake configuration...
Definition: constants.hpp:25
int kernel_index_type
Integer type used inside kernels.
Definition: constants.hpp:19
constexpr kernel_index_type INTERNAL_BLOCK_SIZE
Global compile-time constant used for internal caching. May be changed during the CMake configuration...
Definition: constants.hpp:32