Skip to content

Commit 30ab9ae

Browse files
Update ggml/src/ggml-cuda/common.cuh
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent bcc6c77 commit 30ab9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/common.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ static __device__ __forceinline__ uint32_t fastdiv(uint32_t n, uint32_t mp, uint
586586
return (hi + n) >> L;
587587
}
588588

589-
static __device__ __forceinline__ uint32_t modulo(uint32_t n, uint32_t divisor, int mp, uint32_t L) {
589+
static __device__ __forceinline__ uint32_t fastmodulo(uint32_t n, uint32_t divisor, int mp, uint32_t L) {
590590
return n - fastdiv(n, mp, L) * divisor;
591591
}
592592

0 commit comments

Comments
 (0)