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 :)
Topic:
Graphics & Games
SubTopic:
General
Tags: