Posts

Post not yet marked as solved
3 Replies
1.5k Views
I was debugging and profiling a compute kernel, but when I click the 'debug' button, the status bar of xcode showed: ZMScanDemo - Debugging Shader: Preparing... this may take a whilea few seconds later, I got a prompt saying:"Unable to create shader debug sessionError DYPShaderDebuggerErrorDomain:2:Error creating instrumented compute pipeline state: Error Domain=AGXMetalA11 Code=3 "Compiler encountered an internal error" UserInfo={NSLocalizedDescription=Compiler encountered an internal error}Please report issues, including an export of your capture, to Apple Bug Reporter (https://bugreport.apple.com/)."My kernel is successfully compiled and runing very well. But I had been stucked by this issue many times.Does anyone have an idea?ps: I tried both xcode 11.3.1(macos 10.15.2) and xcode 11.4(on macos 10.15.4), both of them ran into this problem.I also tried 2 devices: iPhone X(ios 13.3.x & ios 13.4) and a iPhone XR(ios 13.3.x)
Posted
by charmland.
Last updated
.