CUTLASS 3.5.1 (#1623)

* CUTLASS 3.5.1

* updates, optimizations, fixes
This commit is contained in:
Vijay Thakkar
2024-07-29 08:46:24 -04:00
committed by GitHub
parent 56b46e2d13
commit be60a0b272
312 changed files with 19793 additions and 6775 deletions
+5 -4
View File
@@ -60,11 +60,12 @@ struct sizeof_bits<void> {
/////////////////////////////////////////////////////////////////////////////////////////////////
/// Returns the number of bytes required to hold a specified number of bits
template <class R = int, class T>
CUTLASS_HOST_DEVICE
CUTLASS_CONSTEXPR_IF_CXX17
int
bits_to_bytes(int bits) {
return (bits + 7) / 8;
constexpr
R
bits_to_bytes(T bits) {
return (R(bits) + R(7)) / R(8);
}
/////////////////////////////////////////////////////////////////////////////////////////////////