【发布时间】:2015-03-24 09:41:59
【问题描述】:
我正在尝试使用 iOS Metal Framework 在 GPU 上制作一个用于数独求解的简单应用。
我按照这篇博文中的说明进行操作:
我在这里修改我的代码:
https://github.com/mateuszbuda/Sudoku
(在撰写此问题时,HEAD 是提交 c3e06e0)
而且我在调用时遇到了错误
newComputePipelineStateWithFunction
即在 ViewController 中设置 MTLDevice 时(第 95 行):
https://github.com/mateuszbuda/Sudoku/blob/c3e06e0e1edc724eea20962f32e49f0df8143b7d/Sudoku/ViewController.swift
我得到的错误是:
Error Domain=AGXMetal Code=1 "Compiler encountered an internal error"
我在装有 iOS 8.1.3 的 iPhone 6 Plus 上运行它
有人知道什么会导致我收到错误吗?
【问题讨论】:
标签: ios iphone swift gpgpu metal