Marlin Dtypes#
Defines
-
_data_types_cuh#
-
namespace MARLIN_NAMESPACE_NAME#
-
template<long scalar_type_id>
class MarlinScalarType#
-
template<typename scalar_t>
class MarlinScalarType2#
-
template<>
class MarlinScalarType2<half> : public MARLIN_NAMESPACE_NAME::MarlinScalarType<trt_edgellm::marlin_dtypes::kFloat16.id()>#
-
template<>
class MarlinScalarType2<int8_t> : public MARLIN_NAMESPACE_NAME::MarlinScalarType<trt_edgellm::marlin_dtypes::kS8.id()>#
-
template<>
class MarlinScalarType2<nv_bfloat16> : public MARLIN_NAMESPACE_NAME::MarlinScalarType<trt_edgellm::marlin_dtypes::kBFloat16.id()>#
-
template<>
class MarlinScalarType<trt_edgellm::marlin_dtypes::kBFloat16.id()># Subclassed by MARLIN_NAMESPACE_NAME::MarlinScalarType2< nv_bfloat16 >
Public Types
-
using scalar_t = nv_bfloat16#
-
using scalar_t2 = nv_bfloat162#
-
using scalar_t4 = nv_bfloat162#
-
using scalar_32bit_t = nv_bfloat162#
Public Static Functions
- static inline __device__ float num2float (nv_bfloat16 const x)
- static inline __device__ nv_bfloat162 num2num2 (nv_bfloat16 const x)
- static inline __device__ nv_bfloat162 nums2num2 (nv_bfloat16 const x1, nv_bfloat16 const x2)
- static inline __host__ __device__ nv_bfloat16 float2num (float const x)
- static inline __host__ __device__ float2 num22float2 (nv_bfloat162 const x)
-
using scalar_t = nv_bfloat16#
-
template<>
class MarlinScalarType<trt_edgellm::marlin_dtypes::kFloat16.id()># Subclassed by MARLIN_NAMESPACE_NAME::MarlinScalarType2< half >
Public Types
-
using scalar_t = half#
-
using scalar_t2 = half2#
-
using scalar_t4 = half2#
-
using scalar_32bit_t = half2#
Public Static Functions
- static inline __device__ float num2float (half const x)
- static inline __device__ half2 num2num2 (half const x)
- static inline __device__ half2 nums2num2 (half const x1, half const x2)
- static inline __host__ __device__ half float2num (float const x)
- static inline __host__ __device__ float2 num22float2 (half2 const x)
-
using scalar_t = half#
-
template<>
class MarlinScalarType<trt_edgellm::marlin_dtypes::kS8.id()># Subclassed by MARLIN_NAMESPACE_NAME::MarlinScalarType2< int8_t >
-
template<long scalar_type_id>