-
Notifications
You must be signed in to change notification settings - Fork 80
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
Building clinfo on Termux Android #46
Comments
Thank you very much for the information and for sharing the logs. This is actually the first time I've seen the output for some of those extensions, so I'm actually glad it didn't blow up in the first place! Would you mind if I add the instructions to the README? |
You are the author. You call the shots! 😄 |
I'm trying it now myself on my Android device, and apparently on my system the approach is not sufficient, since there seems to be the library, but additional linkage is necessary ( |
Hmm, I see. For reference, I am using Nokia 5 (Adreno 505) and Samsung Galaxy A30s (Mali-G71). Both are on Android 9. I am not sure what differs here... |
I'm testing on a Moto One Vision. Apparently the OpenCL library tries to link with |
Scratch that, it is present, but I have manually link it, before linking |
Maybe the order in |
Nah, your approach is sane. It's the stupid Android dynamic linker at fault here, it ignores rpath. I finally got it working. Now I'll try to make something more general, hopefully you can be my test subject 8-) |
I've pushed some changes. Now cloning Running still requires the I'd appreciate if you could test the latest |
Every thing is good thank you for your information.. |
@Saikatsaha1996 3rd party app "OpenCL Z" also reports as 1MHz So there's really nothing we can do about it except for Qualcomm themselves to fix it |
What you are reporting has nothing to do with |
Hello dear how you complete for Arm-Mali GPU? Can you help please.. But don't know only Android application working for OpenCL.. |
@Oblomov I think you can lock this issue to avoid further spamming. Thanks. |
Hi, this is just an appreciation post for clinfo and
a build instruction for building clinfo on Termux that runs on Android.
It should allow people to investigate OpenCL on 64bit Android devices.
You need to have
/system/vendor/lib64/libOpenCL.so
present on the device.If the Android device doesn't have this, it most like doesn't have OpenCL and the build will fail.
Something like
cannot find -lOpenCL
I am going to close the issue since its not an issue with clinfo.
Simply install Termux from Google Play or FDroid
Run these commands:
Example outputs:
Adreno 505
Mali-G71
The text was updated successfully, but these errors were encountered: