Hi,
I am using the C++ SNPE library to run a dlc model on the RB5. The CPU and GPU runtimes work fine, but when I try GPU_FLOAT16, DSP, or AIP_FIXED_TF runtimes my application crashes with Segmentation Fault. I noticed that the network instance is created, but as soon as I try to use the object it crashes:
zdl::DlSystem::Runtime_t runtime = zdl::DlSystem::Runtime_t::GPU_FLOAT16;
zdl::DlSystem::PerformanceProfile_t perfornace = zdl::DlSystem::PerformanceProfile_t::HIGH_PERFORMANCE;std::unique_ptr<zdl::SNPE::SNPE network;
//This works
network = snpeBuilder.setOutputLayers({})
.setRuntimeProcessor(runtime)
.setPerformanceProfile(perfornace)
.build();//This (or any call with the network instance) crashes with GPU_FLOAT16/DSP/AIP_FIXED_TF runtimes
inputDims = network->getInputDimensions(input_node.c_str());
Thank you in advance,
What app do you run on platform? can you screen shot your screen, I will try to reproduce it.
Thanks