Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Tests/UnitTests/Plugins/Cuda/Seeding2/CommandLineArguments.hpp>
Public Member Functions | |
void | interpret (int argc, char *argv[]) |
Interpret the command line arguments of the test executable. | |
void | parse (int argc, char **argv) |
Public Attributes | |
std::string | spFile = "sp.txt" |
Spacepoint file to use. | |
bool | quiet = false |
Do not print the properties of the reconstructed seeds. | |
bool | onlyGPU = false |
Run the seed finding using only the GPU implementation. | |
std::size_t | groupsToIterate = 500 |
The number of groups to process as a maximum. | |
bool | filterDuplicates = false |
Look for spacepoint duplicates in the received input file, and remove them. | |
int | cudaDevice = 0 |
The CUDA device to use. | |
std::size_t | cudaDeviceMemory = 0 |
bool | allgroup = false |
bool | onlyGpu = false |
bool | matches = false |
unsigned int | groups = 500 |
bool | inpFileExists = false |
bool | dirExists = false |
bool | outFileExists = false |
std::string | deviceName = "" |
std::string | inpFileName = "" |
bool | csvFormat = false |
Structure holding the arguments passed to the test executable on the command line
Definition at line 17 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 17 of file CommandLineArguments.hpp
void CommandLineArguments::interpret | ( | int | argc, |
char * | argv[] | ||
) |
Interpret the command line arguments of the test executable.
Convenience declaration for using the boost::program_options namespace.
Definition at line 23 of file CommandLineArguments.cpp.
View newest version in sPHENIX GitHub at line 23 of file CommandLineArguments.cpp
References cudaDevice, cudaDeviceMemory, filterDuplicates, groupsToIterate, onlyGPU, quiet, spFile, and store.
Referenced by main().
void CommandLineArguments::parse | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 21 of file CommandLineArguments.cpp.
View newest version in sPHENIX GitHub at line 21 of file CommandLineArguments.cpp
References allgroup, csvFormat, deviceName, groups, inpFileExists, inpFileName, Acts::Sycl::listPlatforms(), matches, onlyGpu, physmon_simulation::s, and store.
Referenced by main().
bool CommandLineArguments::allgroup = false |
Definition at line 15 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 15 of file CommandLineArguments.h
bool CommandLineArguments::csvFormat = false |
Definition at line 24 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 24 of file CommandLineArguments.h
int CommandLineArguments::cudaDevice = 0 |
The CUDA device to use.
Definition at line 30 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 30 of file CommandLineArguments.hpp
Referenced by interpret(), and main().
std::size_t CommandLineArguments::cudaDeviceMemory = 0 |
Memory to use on the CUDA device in megabytes (by default it's 80% of the available)
Definition at line 33 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 33 of file CommandLineArguments.hpp
Referenced by interpret(), and main().
std::string CommandLineArguments::deviceName = "" |
Definition at line 22 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 22 of file CommandLineArguments.h
bool CommandLineArguments::dirExists = false |
Definition at line 20 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 20 of file CommandLineArguments.h
bool CommandLineArguments::filterDuplicates = false |
Look for spacepoint duplicates in the received input file, and remove them.
Definition at line 27 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 27 of file CommandLineArguments.hpp
Referenced by interpret(), and main().
unsigned int CommandLineArguments::groups = 500 |
Definition at line 18 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 18 of file CommandLineArguments.h
std::size_t CommandLineArguments::groupsToIterate = 500 |
The number of groups to process as a maximum.
Definition at line 25 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 25 of file CommandLineArguments.hpp
Referenced by interpret(), and main().
bool CommandLineArguments::inpFileExists = false |
Definition at line 19 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 19 of file CommandLineArguments.h
std::string CommandLineArguments::inpFileName = "" |
Definition at line 23 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 23 of file CommandLineArguments.h
bool CommandLineArguments::matches = false |
Definition at line 17 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 17 of file CommandLineArguments.h
bool CommandLineArguments::onlyGpu = false |
Definition at line 16 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 16 of file CommandLineArguments.h
bool CommandLineArguments::onlyGPU = false |
Run the seed finding using only the GPU implementation.
Definition at line 23 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 23 of file CommandLineArguments.hpp
Referenced by interpret(), and main().
bool CommandLineArguments::outFileExists = false |
Definition at line 21 of file CommandLineArguments.h.
View newest version in sPHENIX GitHub at line 21 of file CommandLineArguments.h
bool CommandLineArguments::quiet = false |
Do not print the properties of the reconstructed seeds.
Definition at line 21 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 21 of file CommandLineArguments.hpp
Referenced by interpret().
std::string CommandLineArguments::spFile = "sp.txt" |
Spacepoint file to use.
Definition at line 19 of file CommandLineArguments.hpp.
View newest version in sPHENIX GitHub at line 19 of file CommandLineArguments.hpp
Referenced by interpret(), and main().