mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 00:37:04 +00:00
llama: update vendor code to commit ba1cb19c (#8101)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: jmorganca <jmorganca@gmail.com>
|
||||
Date: Sat, 14 Dec 2024 12:54:00 -0800
|
||||
Subject: [PATCH] fix missing arg in static assert on windows
|
||||
|
||||
---
|
||||
ggml/src/ggml-cuda/concat.cu | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ggml/src/ggml-cuda/concat.cu b/ggml/src/ggml-cuda/concat.cu
|
||||
index 2f42b8a9..5eb9f08d 100644
|
||||
--- a/ggml/src/ggml-cuda/concat.cu
|
||||
+++ b/ggml/src/ggml-cuda/concat.cu
|
||||
@@ -124,7 +124,7 @@ static __global__ void __launch_bounds__(CUDA_CONCAT_BLOCK_SIZE)
|
||||
uint64_t nb1,
|
||||
uint64_t nb2,
|
||||
uint64_t nb3){
|
||||
- static_assert(dim >= 0 && dim <= 3);
|
||||
+ static_assert(dim >= 0 && dim <= 3, "dim must be between 0 and 3");
|
||||
|
||||
const int64_t i3 = blockIdx.z;
|
||||
const int64_t i2 = blockIdx.y;
|
||||
Reference in New Issue
Block a user