This fixes segmentation fault error when running tests when no metal devices are available (for example, when not linked with Core Graphics framework or otherwise). |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ggml-metal-impl.h | ||
| ggml-metal.m | ||
| ggml-metal.metal | ||
This fixes segmentation fault error when running tests when no metal devices are available (for example, when not linked with Core Graphics framework or otherwise). |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ggml-metal-impl.h | ||
| ggml-metal.m | ||
| ggml-metal.metal | ||