Spaces:
Sleeping
Sleeping
fix: add missing msg in static_assert (llama/11143)
Browse files
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;
|