fix out-of-bounds write
This commit is contained in:
parent
158e3d3e4f
commit
bd8422dbe7
1 changed files with 1 additions and 1 deletions
|
@ -1124,7 +1124,7 @@ static __global__ void mul_mat_q(
|
|||
for (int i0 = 0; i0 < mmq_y; i0 += WARP_SIZE) {
|
||||
const int i = blockIdx.x*mmq_y + i0 + threadIdx.x;
|
||||
|
||||
if (need_check && i > ne0) {
|
||||
if (need_check && i >= ne0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue