| 219 | template<typename VT, typename R = Randomizer<VT>, typename BT = typename R::BT, typename RE = typename R::RE, |
| 220 | typename UD = typename R::UD> |
| 221 | inline auto RandomValues(BT min = std::is_integral_v<BT> ? nvcv::cuda::TypeTraits<BT>::min : -1, |
| 222 | BT max = std::is_integral_v<BT> ? nvcv::cuda::TypeTraits<BT>::max : +1, |
| 223 | RE rng = DefaultGenerator()) |
| 224 | { |
| 225 | return R{UD(min, max), rng}; |
| 226 | } |
| 227 | |
| 228 | template<typename VT, typename ST, class VG> |
| 229 | inline void FillBuffer(std::vector<uint8_t> &vec, const ST &shape, const ST &strides, VG valuesGenerator) |
nothing calls this directly
no test coverage detected