CUTLASS 2.1 (#83)
CUTLASS 2.1 contributes: - BLAS-style host-side API added to CUTLASS Library - Planar Complex GEMM kernels targeting Volta and Turing Tensor Cores - Minor enhancements and bug fixes
This commit is contained in:
@@ -30,6 +30,10 @@ namespace cutlass {
|
||||
template <typename T>
|
||||
struct RealType {
|
||||
using Type = T;
|
||||
|
||||
static T from_real(double x) {
|
||||
return static_cast<T>(x);
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
@@ -38,4 +42,5 @@ static T from_real(double r) {
|
||||
return T(r);
|
||||
}
|
||||
|
||||
|
||||
} // namespace cutlass
|
||||
|
||||
Reference in New Issue
Block a user