metal : remove deprecated error code (#7008)

This commit is contained in:
Georgi Gerganov 2024-04-30 15:52:21 +03:00 committed by GitHub
parent a68a1e7ed0
commit 77e15bec62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2800,9 +2800,9 @@ static enum ggml_status ggml_metal_graph_compute(
case MTLCommandBufferErrorMemoryless:
GGML_METAL_LOG_INFO("GPU ran out of one or more of its internal resources that support memoryless render pass attachments\n");
break;
case MTLCommandBufferErrorDeviceRemoved:
GGML_METAL_LOG_INFO("device removed\n");
break;
//case MTLCommandBufferErrorDeviceRemoved:
// GGML_METAL_LOG_INFO("device removed\n");
// break;
case MTLCommandBufferErrorStackOverflow:
GGML_METAL_LOG_INFO("kernel function of tile shader used too many stack frames\n");
break;