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 #15

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

Conversation

rairatne
Copy link
Contributor

@rairatne rairatne commented Nov 22, 2024

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

@sysopenci
Copy link

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket is present.

@sysopenci sysopenci added Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review Engineering Build Not Started Engineering Build Not Started labels Nov 22, 2024
@rairatne rairatne force-pushed the opencl_14base_aaos_cache branch from 7d2954b to e93dfb9 Compare November 22, 2024 11:37
@sysopenci
Copy link

Program name for this pr is not compatable with other dependent prs, for more details please check tracked_on

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