MegEngine / MegEngine/mperf

error with ioctl on qcom adreno 730

Open
#9 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
197
Forks
32
PR merge metrics
No merged PRs in 30d

Description

./gpu_adreno_pmu_test 1000 10 1
opencl lib found but can not be opened: /system/lib64/libOpenCL.so err=(null)
opencl lib found but can not be opened: /system/lib64/libOpenCL_system.so err=(null)
opencl lib found but can not be opened: /system/lib64/egl/libGLES_mali.so err=(null)
opencl lib found but can not be opened: /system/vendor/lib64/egl/libGLES_mali.so err=(null)
opencl lib found but can not be opened: /system/vendor/lib64/libPVROCL.so err=(null)
opencl lib found but can not be opened: /usr/lib64/libGLESv2.so.2.1.0 err=(null)
opencl lib found but can not be opened: /data/data/org.pocl.libs/files/lib64/libpocl.so err=(null)
use opencl: libOpenCL.so
ioctl: read in the current value of an event set failed: Operation not permitted
terminating with uncaught exception of type std::runtime_error: Failed to read the value of an event set.
Aborted

-----------------------------------------------------------------
device info: Qualcomm, Adreno (TM) 730
build cmd: ./android_build.sh -g adreno
-----------------------------------------------------------------

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported command, ./gpu_adreno_pmu_test 1000 10 1, using the ./android_build.sh -g adreno build entry point on an Adreno 730 device. Investigate the reported permission failure while reading the event set; done means the test can read the event value and complete without the runtime error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
embedded-iot, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.