25template <
typename T>
const T *
get_ptr(std::optional<T>
const &
opt) {
26 return opt ? std::addressof(*
opt) :
nullptr;
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
const T * get_ptr(std::optional< T > const &opt)