|
enum | LayoutTypeID {
LayoutTypeID::kUnknown,
LayoutTypeID::kColumnMajor,
LayoutTypeID::kRowMajor,
LayoutTypeID::kColumnMajorInterleavedK4,
LayoutTypeID::kRowMajorInterleavedK4,
LayoutTypeID::kColumnMajorInterleavedK16,
LayoutTypeID::kRowMajorInterleavedK16,
LayoutTypeID::kTensorNCHW,
LayoutTypeID::kTensorNHWC,
LayoutTypeID::kInvalid
} |
| Layout type identifier. More...
|
|
enum | NumericTypeID {
NumericTypeID::kUnknown,
NumericTypeID::kVoid,
NumericTypeID::kB1,
NumericTypeID::kU4,
NumericTypeID::kU8,
NumericTypeID::kU16,
NumericTypeID::kU32,
NumericTypeID::kU64,
NumericTypeID::kS4,
NumericTypeID::kS8,
NumericTypeID::kS16,
NumericTypeID::kS32,
NumericTypeID::kS64,
NumericTypeID::kF16,
NumericTypeID::kF32,
NumericTypeID::kF64,
NumericTypeID::kCF16,
NumericTypeID::kCF32,
NumericTypeID::kCF64,
NumericTypeID::kCS4,
NumericTypeID::kCS8,
NumericTypeID::kCS16,
NumericTypeID::kCS32,
NumericTypeID::kCS64,
NumericTypeID::kCU4,
NumericTypeID::kCU8,
NumericTypeID::kCU16,
NumericTypeID::kCU32,
NumericTypeID::kCU64,
NumericTypeID::kInvalid
} |
| Numeric data type. More...
|
|
enum | ComplexTransform { ComplexTransform::kNone,
ComplexTransform::kConjugate
} |
| Enumeraed type describing a transformation on a complex value. More...
|
|
enum | OperationKind { OperationKind::kGemm,
OperationKind::kInvalid
} |
| Enumeration indicating the kind of operation. More...
|
|
enum | ScalarPointerMode { ScalarPointerMode::kHost,
ScalarPointerMode::kDevice,
ScalarPointerMode::kInvalid
} |
| Enumeration indicating whether scalars are in host or device memory. More...
|
|
enum | SplitKMode {
SplitKMode::kNone,
SplitKMode::kSerial,
SplitKMode::kParallel,
SplitKMode::kParallelSerial,
SplitKMode::kInvalid
} |
| Describes how reductions are performed across threadblocks. More...
|
|
enum | OpcodeClassID { OpcodeClassID::kSimt,
OpcodeClassID::kTensorOp,
OpcodeClassID::kWmmaTensorOp,
OpcodeClassID::kInvalid
} |
| Indicates the classificaition of the math instruction. More...
|
|
enum | GemmKind {
GemmKind::kGemm,
GemmKind::kBatched,
GemmKind::kArray,
GemmKind::kPlanarComplex,
GemmKind::kPlanarComplexBatched,
GemmKind::kInvalid
} |
| Enumeration indicating what kind of GEMM operation to perform. More...
|
|
|
template<typename T > |
T | from_string (std::string const &) |
| Lexical cast from string. More...
|
|
char const * | to_string (OperationKind type, bool pretty=false) |
| Converts a NumericType enumerant to a string. More...
|
|
template<> |
OperationKind | from_string< OperationKind > (std::string const &str) |
| Parses a NumericType enumerant from a string. More...
|
|
char const * | to_string (NumericTypeID type, bool pretty=false) |
| Converts a NumericType enumerant to a string. More...
|
|
template<> |
NumericTypeID | from_string< NumericTypeID > (std::string const &str) |
| Parses a NumericType enumerant from a string. More...
|
|
int | sizeof_bits (NumericTypeID type) |
| Returns the size of a data type in bits. More...
|
|
bool | is_complex_type (NumericTypeID type) |
| Returns true if the numeric type is a complex data type or false if real-valued. More...
|
|
NumericTypeID | get_real_type (NumericTypeID type) |
| Returns the real-valued type underlying a type (only different from 'type' if complex) More...
|
|
bool | is_integer_type (NumericTypeID type) |
| Returns true if numeric type is integer. More...
|
|
bool | is_signed_type (NumericTypeID type) |
| Returns true if numeric type is signed. More...
|
|
bool | is_signed_integer (NumericTypeID type) |
| Returns true if numeric type is a signed integer. More...
|
|
bool | is_unsigned_integer (NumericTypeID type) |
| returns true if numeric type is an unsigned integer More...
|
|
bool | is_float_type (NumericTypeID type) |
| Returns true if numeric type is floating-point type. More...
|
|
char const * | to_string (Status status, bool pretty=false) |
| To string method for cutlass::Status. More...
|
|
char const * | to_string (LayoutTypeID layout, bool pretty=false) |
| Converts a LayoutTypeID enumerant to a string. More...
|
|
template<> |
LayoutTypeID | from_string< LayoutTypeID > (std::string const &str) |
| Parses a LayoutType enumerant from a string. More...
|
|
int | get_layout_stride_rank (LayoutTypeID layout_id) |
| Returns the rank of a layout's stride base on the LayoutTypeID. More...
|
|
char const * | to_string (OpcodeClassID type, bool pretty=false) |
| Converts a OpcodeClassID enumerant to a string. More...
|
|
template<> |
OpcodeClassID | from_string< OpcodeClassID > (std::string const &str) |
| Converts a OpcodeClassID enumerant from a string. More...
|
|
std::string | lexical_cast (int64_t int_value) |
| Lexical cast from int64_t to string. More...
|
|
bool | lexical_cast (std::vector< uint8_t > &bytes, NumericTypeID type, std::string const &str) |
| Lexical cast a string to a byte array. Returns true if cast is successful or false if invalid. More...
|
|
std::string | lexical_cast (std::vector< uint8_t > &bytes, NumericTypeID type) |
| Lexical cast TO a string FROM a byte array. Returns true if cast is successful or false if invalid. More...
|
|
bool | cast_from_int64 (std::vector< uint8_t > &bytes, NumericTypeID type, int64_t src) |
| Casts from a signed int64 to the destination type. Returns true if successful. More...
|
|
bool | cast_from_uint64 (std::vector< uint8_t > &bytes, NumericTypeID type, uint64_t src) |
| Casts from an unsigned int64 to the destination type. Returns true if successful. More...
|
|
bool | cast_from_double (std::vector< uint8_t > &bytes, NumericTypeID type, double src) |
| Casts from a real value represented as a double to the destination type. Returns true if successful. More...
|
|