# Test Qualcomm Neural Processing SDK

Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/73_Test_SNPE_.html](https://docs.qualcomm.com/doc/80-88500-3/topic/73_Test_SNPE_.html)

To test Qualcomm Neural Processing SDK, do the following:

1. Push the libraries and binaries on the device if not present:
    1. Push all `aarch64` libs under lib\aarch64-oe-linux-gcc9.3
              to/usr/lib/.
    2. Push DSP libs under `lib\dsp` to `/usr/lib/rfsa/adsp/`.
    3. Push all binaries under bin\aarch64-oe-linux-gcc9.3 to
              `/usr/bin/`.
    4. Set permission `chmod 755` for required binaries.
    5. Create a `symlink`: ln `-s lib lib64` from `root
              ‘/’`.

    This step is not required if the `qtimlsnpe` plug-in is already built
          and installed. For more information on installing `qtimlsnpe`, see [Install GStreamer plug-in](https://docs.qualcomm.com/doc/80-88500-3/topic/72_Install_qtimlsnpe_GStreamer_plug_in_.html).
2. Use the following command to validate Qualcomm Neural Processing
        SDK runtime.

        snpe-platform-validator --runtime allCopy to clipboard

The expected output
        shows that the SNPE DSP runtime is ready for use.
    - PF\_VALIDATOR: DEBUG: Starting calculator test
    - PF\_VALIDATOR: DEBUG: Successfully loaded DSP library -
              `'libcalculator_domains.so'`. Setting up pointers.
    - PF\_VALIDATOR: DEBUG: Success in executing the sum function

    The following DSP prerequisites at runtime should be present.

    - PF\_VALIDATOR: DEBUG: Calling `PlatformValidator->setRuntime`
    - PF\_VALIDATOR: DEBUG: CPU side validation passed.
3. Use the following command to run a model on the Qualcomm Neural Processing SDK.

        snpe-net-run
                  --container <full path to model > --input_list <target_raw_list.txt>
                  --perf_profile balanced --use_dspCopy to clipboard

For more information on how to convert a model to Qualcomm Neural Processing SDK DLC format
      and generate input images, see [https://developer.qualcomm.com/](https://developer.qualcomm.com/).

**Parent Topic:** [Configure AI/ML modules](https://docs.qualcomm.com/doc/80-88500-3/topic/66_Configure_AI_ML_modules.html)

Last Published: Sep 26, 2023

[Previous Topic
Install GStreamer plug-in](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/72_Install_qtimlsnpe_GStreamer_plug_in_.md) [Next Topic
Add GST plug-in to support tensors in and out](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/75_Add_GST_plug_in_to_support_tensors_in_and_out___.md)