Skip to content

Commit 98c97b2

Browse files
hydaimglambda
authored andcommitted
fix: add missing msg in static_assert (ggml-org#11143)
Signed-off-by: hydai <[email protected]>
1 parent d5f3fbf commit 98c97b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/concat.cu

+1-1
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)