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

Add support for Google Pixel OpenCL #282

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Add support for Google Pixel OpenCL #282

merged 1 commit into from
Aug 11, 2023

Conversation

alex4o
Copy link
Contributor

@alex4o alex4o commented Aug 10, 2023

Google Pixel phones load the OpenCL symbols in a bit of a roundabout way.
This is the way google does it in TensorFlow-lite.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/gpu/cl/opencl_wrapper.cc#L75

Screenshot_20230809-231501.png

Screenshot_20230809-231758.png

@junrushao
Copy link
Member

Thanks for this PR! This is amazing to see the OpenCL issue on Pixel gets fixed ❤️

BTW, do you want to instead submit PR to the mainline instead https://github.com/apache/tvm? We periodically sync with it and generally accept PRs there

@MasterJH5574
Copy link
Collaborator

@alex4o Thanks for contribution! For another thing, could you please also fix the C++ format issue here https://ci.mlc.ai/blue/organizations/jenkins/mlc/detail/PR-282/1/pipeline?

@alex4o
Copy link
Contributor Author

alex4o commented Aug 10, 2023

@junrushao I will make the PR against upstream later today, I just thought you might be more responsive and it will get merged faster.

@MasterJH5574 thanks for the tip, I will run clang-format in it.

@MasterJH5574
Copy link
Collaborator

@alex4o Thanks! We can merge this one first for sure once the formatting is addressed.

@MasterJH5574 MasterJH5574 merged commit 9fc619d into mlc-ai:mlc Aug 11, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants