This commit is contained in:
Awni Hannun
2025-05-03 12:49:00 -07:00
parent 9eb5fa764c
commit 840221e932

View File

@@ -88,7 +88,7 @@ inline int get_work_per_thread(Dtype dtype) {
return std::max(1, 8 / dtype.size());
}
inline int ceildiv(int n, int m) {
inline size_t ceildiv(size_t n, size_t m) {
return (n + m - 1) / m;
}