use CUDA_NAME both times

This commit is contained in:
slaren 2024-02-15 16:47:43 +01:00
parent e4f9d9d848
commit 201d70b7db

View file

@ -7943,7 +7943,7 @@ GGML_CALL void ggml_init_cublas() {
if (cudaGetDeviceCount(&g_device_count) != cudaSuccess) {
initialized = true;
g_cublas_loaded = false;
fprintf(stderr, "%s: no " GGML_CUDA_NAME " devices found, CUDA will be disabled\n", __func__);
fprintf(stderr, "%s: no " GGML_CUDA_NAME " devices found, " GGML_CUDA_NAME " will be disabled\n", __func__);
return;
}