mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	Fixed CUDA runtime version check (#1879)
This commit is contained in:
		| @@ -25,7 +25,7 @@ static_assert(sizeof(half) == sizeof(ggml_fp16_t), "wrong fp16 size"); | |||||||
|         }                                                                               \ |         }                                                                               \ | ||||||
|     } while (0) |     } while (0) | ||||||
|  |  | ||||||
| #if CUDART_VERSION >= 12 | #if CUDART_VERSION >= 12000 | ||||||
| #define CUBLAS_CHECK(err)                                                               \ | #define CUBLAS_CHECK(err)                                                               \ | ||||||
|     do {                                                                                \ |     do {                                                                                \ | ||||||
|         cublasStatus_t err_ = (err);                                                    \ |         cublasStatus_t err_ = (err);                                                    \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Johannes Gäßler
					Johannes Gäßler