Forums - SNPE crashing with GPU_FLOAT16/DSP/AIP_FIXED_TF Runtimes (segmentation fault)

2 posts / 0 new
Last post
SNPE crashing with GPU_FLOAT16/DSP/AIP_FIXED_TF Runtimes (segmentation fault)
mobicham
Join Date: 2 Apr 19
Location: Berlin
Posts: 4
Posted: Thu, 2021-02-11 07:34

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,

 

  • Up0
  • Down0
kevin.dai
Join Date: 21 Oct 20
Posts: 137
Posted: Thu, 2021-02-11 10:49

What app do you run on platform? can you screen shot your screen, I will try to reproduce it.

Thanks

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.