Skip to content

Commit 8d59d91

Browse files
authored
fix: add missing msg in static_assert (#11143)
Signed-off-by: hydai <z54981220@gmail.com>
1 parent 8a1d9c2 commit 8d59d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/concat.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ static __global__ void __launch_bounds__(CUDA_CONCAT_BLOCK_SIZE)
124124
uint64_t nb1,
125125
uint64_t nb2,
126126
uint64_t nb3){
127-
static_assert(dim >= 0 && dim <= 3);
127+
static_assert(dim >= 0 && dim <= 3, "dim must be in [0, 3]");
128128

129129
const int64_t i3 = blockIdx.z;
130130
const int64_t i2 = blockIdx.y;

0 commit comments

Comments
 (0)