Optimized Belief Propagation (CPU and GPU)
|
Contains the main() function that drives the optimized CPU belief propgation implementation evaluation across multiple input stereo sets and run configurations. More...
#include <iostream>
#include <array>
#include "RunImp/RunImpMultTypesAccels.h"
#include "RunImpCPU/RunCPUSettings.h"
#include "BpFileProcessing/BpFileHandlingConsts.h"
#include "BpRunProcessing/BpSettings.h"
#include "BpRunEvalImp/RunImpMultInputsBp.h"
#include "BpResultsEvaluation/EvaluateImpResultsBp.h"
Go to the source code of this file.
Enumerations | |
enum class | RunImpSetting { kRunImpDefault , kRunImpThreadsPinnedToSocket , kRunImpSimSingleCPUTwoCPUSystem } |
Functions | |
void | runImp (int argc, char **argv, RunImpSetting impSetting) |
Run and evaluate optimized CPU implementation for belief propagation using input parameters from command line and specified implementation setting. More... | |
int | main (int argc, char **argv) |
Main() function that drives the optimized CPU belief propgation implementation evaluation across multiple input stereo sets and run configurations. First input argument corresponds to run name; recommended that run name include architecture that implementation is run on...if no input argument given run name is set to "CurrentRun" Can add second input argument "SimulateSingleCPU" to specify simulating a single-CPU on a dual-CPU system in the run (also need to set CPU threads pinned to socket by calling "export OMP_PLACES="sockets"" and "export OMP_PROC_BIND=true" commands on command line before run if enabling this option) More... | |
Contains the main() function that drives the optimized CPU belief propgation implementation evaluation across multiple input stereo sets and run configurations.
Definition in file DriverBpStereoCPU.cpp.
|
strong |
Enumerator | |
---|---|
kRunImpDefault | |
kRunImpThreadsPinnedToSocket | |
kRunImpSimSingleCPUTwoCPUSystem |
Definition at line 39 of file DriverBpStereoCPU.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Main() function that drives the optimized CPU belief propgation implementation evaluation across multiple input stereo sets and run configurations. First input argument corresponds to run name; recommended that run name include architecture that implementation is run on...if no input argument given run name is set to "CurrentRun" Can add second input argument "SimulateSingleCPU" to specify simulating a single-CPU on a dual-CPU system in the run (also need to set CPU threads pinned to socket by calling "export OMP_PLACES="sockets"" and "export OMP_PROC_BIND=true" commands on command line before run if enabling this option)
argc | |
argv |
Definition at line 199 of file DriverBpStereoCPU.cpp.
void runImp | ( | int | argc, |
char ** | argv, | ||
RunImpSetting | impSetting | ||
) |
Run and evaluate optimized CPU implementation for belief propagation using input parameters from command line and specified implementation setting.
argc | |
argv | |
impSetting |
Definition at line 54 of file DriverBpStereoCPU.cpp.