4 #ifndef __HEBENCH_DATASET_LOADER_FUNCTIONAL_TEST__H__
5 #define __HEBENCH_DATASET_LOADER_FUNCTIONAL_TEST__H__
25 constexpr
const char *
help_msg =
"NAME\n\tdata_loader - launches the data loader module.\n\n"
26 "SYNOPSYS\n\tdata_loader [OPTION] [FILE] [DATA_TYPE] [MAX_LOAD]\n\n"
27 "DESCRIPTION\n\tIs a launcher app to test the data loader module.\n"
28 "\tWith no MAX_LOAD, it will be set to 0.\n\n"
29 "\t-h, --help displays help mesage and exits";
30 constexpr
const char *
check_usage =
"Please check the correct usage by typing \"data_loader -h\" or"
31 " \"data_loader --help\".";
44 void load_from_csv(std::string data, std::filesystem::path file_path, std::uint64_t max_loaded_size);
void signal_error(const char *msg, bool usage=false)
constexpr const char * check_usage
constexpr const char * help_msg
void load_from_csv(std::string data, std::filesystem::path file_path, std::uint64_t max_loaded_size)
constexpr const char * help_cstr_long
constexpr std::uint8_t type_arg
constexpr std::uint8_t help_arg
constexpr std::uint8_t file_path_arg
constexpr std::uint8_t min_args_allowed
constexpr const char * help_cstr_short
std::uint8_t get_type_from_data(std::string)
constexpr std::uint8_t max_loaded_size_arg
constexpr std::uint8_t max_args_allowed