struct nbla::CudaType

template<typename T>
struct CudaType

Infer NNabla’s CUDA type.

When nbla::Half is passed, it’s converted to nbla::HalfCuda which can be used in kernel functions as if it’s a built-in scalar type with overloaded operators.