]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
metal : remove deprecated error code (#7008)
authorGeorgi Gerganov <redacted>
Tue, 30 Apr 2024 12:52:21 +0000 (15:52 +0300)
committerGitHub <redacted>
Tue, 30 Apr 2024 12:52:21 +0000 (15:52 +0300)
ggml-metal.m

index cf3aed488eb74e41c2f88673da846a6c0dc05ae3..0ebe7163e7476138a6cb2feb13506ca16f54ddc6 100644 (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;