fix bug
This commit is contained in:
parent
144bd80436
commit
3c108d4232
1 changed files with 64 additions and 60 deletions
|
@ -188,6 +188,7 @@ __global__ void VecQuant2MatMulKernel(
|
|||
res += weight[k] * blockvec[k];
|
||||
}
|
||||
atomicAdd(&mul[b * width + w], res);
|
||||
__syncthreads();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -332,6 +333,7 @@ __global__ void VecQuant3MatMulKernel(
|
|||
res += weight[k] * blockvec[k];
|
||||
}
|
||||
atomicAdd(&mul[b * width + w], res);
|
||||
__syncthreads();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -419,6 +421,7 @@ __global__ void VecQuant4MatMulKernel(
|
|||
res += weight[k] * blockvec[k];
|
||||
}
|
||||
atomicAdd(&mul[b * width + w], res);
|
||||
__syncthreads();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -505,5 +508,6 @@ __global__ void VecQuant8MatMulKernel(
|
|||
res += weight[k] * blockvec[k];
|
||||
}
|
||||
atomicAdd(&mul[b * width + w], res);
|
||||
__syncthreads();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue