BNNSGraphCompileOptionsGetTargetSingleThread(_:)
Returns the option for the compiled graph to execute on a single thread.
Declaration
func BNNSGraphCompileOptionsGetTargetSingleThread(_ options: bnns_graph_compile_options_t) -> BoolParameters
- options:
The compilation options object.
Return Value
true if the options specify single-threaded execution; otherwise, false.
See Also
Specifying and querying compilation options
bnns_graph_compile_options_tBNNSGraphCompileOptionsMakeDefault()BNNSGraphCompileOptionsDestroy(_:)BNNSGraphCompileOptionsSetOutputPath(_:_:)BNNSGraphCompileOptionsGetOutputPath(_:)BNNSGraphCompileOptionsSetOutputFD(_:_:)BNNSGraphCompileOptionsGetOutputFD(_:)BNNSGraphCompileOptionsSetTargetSingleThread(_:_:)BNNSGraphCompileOptionsSetOptimizationPreference(_:_:)BNNSGraphCompileOptionsGetOptimizationPreference(_:)BNNSGraphOptimizationPreferenceBNNSGraphCompileOptionsSetGenerateDebugInfo(_:_:)BNNSGraphCompileOptionsGetGenerateDebugInfo(_:)BNNSTargetSystemGeneric