ggerganov commited on
Commit
42a84fb
·
1 Parent(s): d4dcef9

metal : remove deprecated error code (llama/7008)

Browse files
Files changed (1) hide show
  1. ggml-metal.m +3 -3
ggml-metal.m CHANGED
@@ -2815,9 +2815,9 @@ static enum ggml_status ggml_metal_graph_compute(
2815
  case MTLCommandBufferErrorMemoryless:
2816
  GGML_METAL_LOG_INFO("GPU ran out of one or more of its internal resources that support memoryless render pass attachments\n");
2817
  break;
2818
- case MTLCommandBufferErrorDeviceRemoved:
2819
- GGML_METAL_LOG_INFO("device removed\n");
2820
- break;
2821
  case MTLCommandBufferErrorStackOverflow:
2822
  GGML_METAL_LOG_INFO("kernel function of tile shader used too many stack frames\n");
2823
  break;
 
2815
  case MTLCommandBufferErrorMemoryless:
2816
  GGML_METAL_LOG_INFO("GPU ran out of one or more of its internal resources that support memoryless render pass attachments\n");
2817
  break;
2818
+ //case MTLCommandBufferErrorDeviceRemoved:
2819
+ // GGML_METAL_LOG_INFO("device removed\n");
2820
+ // break;
2821
  case MTLCommandBufferErrorStackOverflow:
2822
  GGML_METAL_LOG_INFO("kernel function of tile shader used too many stack frames\n");
2823
  break;