Typedef nvcv::cuda::ConvertBaseTypeTo
Typedef Documentation
-
template<class BT, class T, class = Require<HasTypeTraits<BT, T>>>
using nvcv::cuda::ConvertBaseTypeTo = detail::ConvertBaseTypeTo_t<BT, T> Metatype to convert the base type of a type.
The base type of target type
T
is replaced to beBT
.using DataType = ...; using FloatDataType = ConvertBaseTypeTo<float, DataType>; // yields float1..4
- Template Parameters:
BT – Base type to use in the conversion.
T – Target type to convert its base type.