Function holoscan::utils::cuda::get_element_size
Defined in File buffer.hpp
-
inline uint32_t holoscan::utils::cuda::get_element_size(BufferDataType data_type) noexcept
Get the element size in bytes for a given data type.
- Parameters
data_type – The data type
- Returns
Number of bytes per element