Skip to content

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

Merged
zhangjun merged 2 commits intoPaddlePaddle:developfrom
zhangjun:metal-support
Oct 22, 2021
Merged

[meta] fix iOS 10/iOS 9 metallib support#7367
zhangjun merged 2 commits intoPaddlePaddle:developfrom
zhangjun:metal-support

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 <[email protected]>

Co-authored-by: bit20062896 <[email protected]>
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