Struct BuildConfig¶
Defined in File PSNPE.hpp
Struct Documentation¶
-
struct BuildConfig¶
Public Members
-
RuntimeConfigList runtimeConfigList¶
The runtime config list for PSNPE,.
See also
-
size_t inputThreadNumbers = 1¶
Specify the number of threads used in the execution phase to process input data, only used in inputOutputAsync mode.
-
size_t outputThreadNumbers = 1¶
Specify the number of threads used in the execution phase to process output data, only used in inputOutputAsync and outputAsync mode.
-
OutputAsyncCallbackFunc outputCallback¶
The callback to deal with output data ,only used in outputAsync mode.
-
InputOutputAsyncCallbackFunc inputOutputCallback¶
The callback to deal with output data ,only used in inputOutputAsync mode.
-
InputOutputAsyncInputCallback inputOutputInputCallback¶
The callback to deal with input data ,only used in inputOutputAsync mode.
-
InputOutputTransmissionMode inputOutputTransmissionMode = InputOutputTransmissionMode::sync¶
Specify execution mode.
-
zdl::DlSystem::ProfilingLevel_t profilingLevel = zdl::DlSystem::ProfilingLevel_t::OFF¶
Specify profiling level for Diaglog.
-
uint64_t encode[2] = {0, 0}¶
-
bool enableInitCache = false¶
-
bool acceleratedInit = false¶
-
std::string platformOptions¶
-
std::string diaglogOutputDir = "./diaglogs/"¶
Specify a diaglog output directory to save the generated Diaglog files.
-
size_t callbackID = {}¶
-
RuntimeConfigList runtimeConfigList¶