Skip to content

Commit

Permalink
metal : remove deprecated error code (ggerganov#7008)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and nopperl committed May 5, 2024
1 parent 3cf9830 commit be5074c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit be5074c

Please sign in to comment.