Skip to content

Commit 77e15be

Browse files
authored
metal : remove deprecated error code (#7008)
1 parent a68a1e7 commit 77e15be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ggml-metal.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2800,9 +2800,9 @@ static enum ggml_status ggml_metal_graph_compute(
28002800
case MTLCommandBufferErrorMemoryless:
28012801
GGML_METAL_LOG_INFO("GPU ran out of one or more of its internal resources that support memoryless render pass attachments\n");
28022802
break;
2803-
case MTLCommandBufferErrorDeviceRemoved:
2804-
GGML_METAL_LOG_INFO("device removed\n");
2805-
break;
2803+
//case MTLCommandBufferErrorDeviceRemoved:
2804+
// GGML_METAL_LOG_INFO("device removed\n");
2805+
// break;
28062806
case MTLCommandBufferErrorStackOverflow:
28072807
GGML_METAL_LOG_INFO("kernel function of tile shader used too many stack frames\n");
28082808
break;

0 commit comments

Comments
 (0)