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

[meta] fix iOS 10/iOS 9 metallib support #7367

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

zhangjun
Copy link
Collaborator

description

  • iOS 10 只支持Metal 1.2,iOS 9支持Metal 1.1, 默认编译出的metallib库为2.x版本,需要设定编译器编译的metal版本号

@zhangjun zhangjun requested a review from bit20062896 October 21, 2021 08:14
@zhangjun zhangjun merged commit ca45a6a into PaddlePaddle:develop Oct 22, 2021
zhangjun added a commit to zhangjun/Paddle-Lite that referenced this pull request Oct 25, 2021
zhangjun added a commit that referenced this pull request Nov 3, 2021
…ernels; fix iOS 10/iOS 9 metallib support (#7408)

* [meta] fix iOS 10/iOS 9 metallib support (#7367)

* [meta] fix iOS 10 support

* update

* [metal]fix memory is not released in time in some kernels (#7393)

* [metal]fix memory is not released in time in some kernels

* update

Co-authored-by: zhangjun <ewalker@live.cn>

Co-authored-by: bit20062896 <476548142@qq.com>
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.

2 participants