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

opencl android support question #1140

Open
ningpengtao-coder opened this issue Jul 28, 2023 · 2 comments
Open

opencl android support question #1140

ningpengtao-coder opened this issue Jul 28, 2023 · 2 comments

Comments

@ningpengtao-coder
Copy link

          I try to compile clblast as a shared object of the android platform, use -DGGML_USE_CLBLAST to enable support for clblast, and load opencl through System.load("/vendor/lib64/libOpenCL.so"). Then run inference. Incorrect results and longer inference time.

whisper1(cpu): correct result.
whisper1
whisper2(opencl gpu): incorrect result.
whisper2

Originally posted by @ningpengtao-coder in #1070 (comment)

@ningpengtao-coder ningpengtao-coder changed the title opencl support question opencl android support question Jul 28, 2023
@Theadmaster
Copy link

did your Android demo work now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ningpengtao-coder @Theadmaster and others