You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The actual code from the Qualcomm AI Hub Apps originally had an array of hardware accelerators grouped in the same list, with the CPU in a separate array. This code has been modified to include separate delegates for the NPU, GPU, and CPU as required.
The crashing issue has been resolved in the uploaded code. The problem solved by the following code snippet when creating the GPU delegate. Initially, the sequence was NPU, GPU, and CPU. However, after separating them into individual delegates in the code, the object for the GPU delegate was not created, causing the application to crash.
Additionally, added these line of codes so that if the user do not select the delegator, the GPU delegator will be created by default. The application starts by default selected GPU only radio button. else if (checkedId == R.id.gpuDelegateRadio){ if (cpuOnlyClassification){ this.cpuOnlyClassification = false; } this.gpuOnlyClassification = true; this.npuOnlyClassification = false;
When running android apps - https://github.com/quic/ai-hub-apps/tree/main/apps/android and when clicking Run Model without changing the delegation between CPU, GPU and NPU.
The text was updated successfully, but these errors were encountered: