Optimized Belief Propagation (CPU and GPU)
|
Namespace with constants and functions to get CUDA device properties as well as default and test parallel parameters to use in CUDA implementation run optimization. More...
Functions | |
RunData | retrieveDeviceProperties (int num_device) |
Variables | |
constexpr std::string_view | kOptimizeCUDADesc {"CUDA"} |
constexpr std::string_view | kCUDAVersionHeader {"Cuda version"} |
constexpr std::string_view | kCUDARuntimeHeader {"Cuda Runtime Version"} |
constexpr std::array< unsigned int, 2 > | kParallelParamsDefault {{32, 4}} |
Default thread block dimensions (which is what parallel parameters corresponds to in CUDA implementation) More... | |
const std::set< std::array< unsigned int, 2 > > | kParallelParameterAltOptions |
Parallel parameter alternative options to run to retrieve optimized parallel parameters in CUDA implementation Parallel parameter corresponds to thread block dimensions in CUDA implementation OK to include default parallel parameters in alternative options but not required. More... | |
Namespace with constants and functions to get CUDA device properties as well as default and test parallel parameters to use in CUDA implementation run optimization.
|
inline |
Definition at line 57 of file RunCUDASettings.h.
|
constexpr |
Definition at line 55 of file RunCUDASettings.h.
|
constexpr |
Definition at line 54 of file RunCUDASettings.h.
|
constexpr |
Definition at line 53 of file RunCUDASettings.h.
const std::set<std::array<unsigned int, 2> > run_cuda::kParallelParameterAltOptions |
Parallel parameter alternative options to run to retrieve optimized parallel parameters in CUDA implementation Parallel parameter corresponds to thread block dimensions in CUDA implementation OK to include default parallel parameters in alternative options but not required.
Definition at line 105 of file RunCUDASettings.h.
|
constexpr |
Default thread block dimensions (which is what parallel parameters corresponds to in CUDA implementation)
Definition at line 82 of file RunCUDASettings.h.