@@ -36,6 +36,9 @@ template <typename T>
|
||||
struct RealType {
|
||||
using Type = T;
|
||||
|
||||
/// Number of elements
|
||||
static int const kExtent = 1;
|
||||
|
||||
CUTLASS_HOST_DEVICE
|
||||
static T from_real(double x) {
|
||||
return static_cast<T>(x);
|
||||
|
||||
Reference in New Issue
Block a user