hydaitw commited on
Commit
8c60d6a
·
1 Parent(s): 6f18eed

fix: add missing msg in static_assert (llama/11143)

Browse files
Files changed (1) hide show
  1. ggml/src/ggml-cuda/concat.cu +1 -1
ggml/src/ggml-cuda/concat.cu CHANGED
@@ -124,7 +124,7 @@ static __global__ void __launch_bounds__(CUDA_CONCAT_BLOCK_SIZE)
124
  uint64_t nb1,
125
  uint64_t nb2,
126
  uint64_t nb3){
127
- static_assert(dim >= 0 && dim <= 3);
128
 
129
  const int64_t i3 = blockIdx.z;
130
  const int64_t i2 = blockIdx.y;
 
124
  uint64_t nb1,
125
  uint64_t nb2,
126
  uint64_t nb3){
127
+ static_assert(dim >= 0 && dim <= 3, "dim must be in [0, 3]");
128
 
129
  const int64_t i3 = blockIdx.z;
130
  const int64_t i2 = blockIdx.y;