struct nbla::CudaNativeType

template<typename T>
struct CudaNativeType

Infer CUDA’s native data type from NNabla’s data type.

In particular, nbla::Half and nbla::HalfCuda are converted to CUDA’s half. Otherwise passed through.