Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve opencl cache creation fail in base_aaos #16

Draft
wants to merge 1 commit into
base: celadon/u/mr0/master
Choose a base branch
from

Conversation

rairatne
Copy link
Contributor

Changes done:

-In multiuser mode APPs dont have access to /data/data/, thus add /data/user/userid//.cache/neo_compiler_cache as 1st fallback cache dir for Android

  • Add /data/local/tmp/cache//.cache/neo_compiler_cache as final fallback cache dir in case shell process dont have access to /data/data path

Tests done:

  • Android build
  • Boot and verified with tflite gpu delegate with openCL

Tracked-On: OAM-127604

Changes done:

-In multiuser mode APPs dont have access to /data/data/<progname>, thus
add /data/user/userid/<progname>/.cache/neo_compiler_cache as
1st fallback cache dir for Android

- Add /data/local/tmp/cache/<progname>/.cache/neo_compiler_cache
as final fallback cache dir in case shell process dont have access to
/data/data path

Tests done:
- Android build
- Boot and verified with tflite gpu delegate with openCL

Tracked-On: OAM-127604
Signed-off-by: Ratnesh Kumar Rai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Build Not Started Engineering Build Not Started Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review Valid commit message
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants