| 151 | } |
| 152 | |
| 153 | void AsyncWrite(const TVector<T>& data, |
| 154 | const TCudaStream& stream) const { |
| 155 | CB_ENSURE(data.size() <= Size()); |
| 156 | NCudaLib::TMemoryCopier<EPtrType::Host, Type>::CopyMemoryAsync(data.data(), Get(), data.size(), stream); |
| 157 | } |
| 158 | |
| 159 | void Write(const TVector<T>& data, const TCudaStream& stream) const { |
| 160 | if (Type == EPtrType::CudaHost) { |
nothing calls this directly
no test coverage detected