MNN icon indicating copy to clipboard operation
MNN copied to clipboard

iOS 平台Pod 安装1.2.0版本mnn,使用metal报错。

Open JKangTan opened this issue 2 years ago • 1 comments

iOS 平台Pod 安装1.2.0版本mnn,使用metal报错。 MNNMetalTensorContent sharedContent;

    MNNMetalGetTensorContent(&sharedContent, _input);
    // For Metal Context to write, don't need finish, just use flush
    _input->wait(MNN::Tensor::MAP_TENSOR_WRITE, false);
    [enc setBuffer:sharedContent.buffer offset:sharedContent.offset atIndex:0];
image

JKangTan avatar Mar 04 '22 09:03 JKangTan

pod 的版本是1.2.0对应tag版本1.2.0,但是demo中的版本其实是tag版本1.2.7

tuyuwang avatar Apr 27 '22 03:04 tuyuwang

试下最新的代码

wangzhaode avatar Feb 15 '23 12:02 wangzhaode

最新代码已经修正,有问题重新提 issue

jxt1234 avatar Apr 18 '23 12:04 jxt1234