Optimized Belief Propagation (CPU and GPU)
DriverBpStereoCPU.cpp File Reference

Contains the main() function that drives the optimized CPU belief propgation implementation evaluation across multiple input stereo sets and run configurations. More...

Include dependency graph for DriverBpStereoCPU.cpp:

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...
 

Detailed Description

Contains the main() function that drives the optimized CPU belief propgation implementation evaluation across multiple input stereo sets and run configurations.

Author
Scott Grauer-Gray

Definition in file DriverBpStereoCPU.cpp.

Enumeration Type Documentation

◆ RunImpSetting

enum RunImpSetting
strong
Enumerator
kRunImpDefault 
kRunImpThreadsPinnedToSocket 
kRunImpSimSingleCPUTwoCPUSystem 

Definition at line 39 of file DriverBpStereoCPU.cpp.

Function Documentation

◆ main()

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)

Parameters
argc
argv
Returns
0 if successful, another number indicating error if not

Definition at line 199 of file DriverBpStereoCPU.cpp.

Here is the call graph for this function:

◆ runImp()

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.

Parameters
argc
argv
impSetting

Definition at line 54 of file DriverBpStereoCPU.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: