ncnn
ncnn copied to clipboard
苹果6s 11.3系统崩溃
GPU下 在苹果11 iOS15.1系统正常运行 在苹果6s 11.3系统下报错在load_model的时候 Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MTLComputePipelineDescriptorInternal setMaxTotalThreadsPerThreadgroup:]: unrecognized selector sent to instance CPU的时候正常,苹果11和苹果6s都正常
moltenvk 上游已修复 https://github.com/KhronosGroup/MoltenVK/pull/1635
maxTotalThreadsPerThreadgroup 只在 ios 12 中才有
修改后6s在ex.input这个方法报错,苹果11仍然没有问题,也是moltenvk的问题吗
这个 address=0x8 看起来很像是内存/显存不够,可以试试最新的ncnn,优化了内存占用