Compare commits

..

1 Commits

Author SHA1 Message Date
059bcd3009 ci : fix CUDA builds 2024-06-11 11:40:19 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -459,7 +459,7 @@ jobs:
path: build/bin/${{ matrix.build }} path: build/bin/${{ matrix.build }}
windows-cublas: windows-cublas:
runs-on: windows-latest runs-on: windows-2019
strategy: strategy:
matrix: matrix:

View File

@ -75,7 +75,7 @@ static __global__ void mul_mat_vec_q(
tmp[j][i] = warp_reduce_sum(tmp[j][i]); tmp[j][i] = warp_reduce_sum(tmp[j][i]);
} }
if (threadIdx.x < rows_per_cuda_block && (rows_per_cuda_block == 1 || row0 + threadIdx.x < nrows_dst)) { if (threadIdx.x < rows_per_cuda_block) {
dst[j*nrows_dst + row0 + threadIdx.x] = tmp[j][threadIdx.x]; dst[j*nrows_dst + row0 + threadIdx.x] = tmp[j][threadIdx.x];
} }
} }