I am not sure how macOS would behave in case of a infinite loop in a compute kernel: maybe the command buffer would be aborted and fail but this is only a guess. You can explicitly run a compute kernel with an infinite loop if you really want to know :)
Post
Replies
Boosts
Views
Activity
This is what the error message says on macOS, but the documentation gives another solution: just import CoreGraphics, then MTLCreateSystemDefaultDevice() works again.