| 307 | } |
| 308 | |
| 309 | int64_t Stream::GetSizeInBytes() const |
| 310 | { |
| 311 | // m_size_inbytes == -1 indicates failure case and value has not been computed yet |
| 312 | NVCV_ASSERT(m_size_inbytes != -1 |
| 313 | && "Stream has m_size_inbytes == -1, ie m_size_inbytes has not been correctly set"); |
| 314 | return m_size_inbytes; |
| 315 | } |
| 316 | |
| 317 | std::shared_ptr<Stream> Stream::shared_from_this() |
| 318 | { |
nothing calls this directly
no outgoing calls
no test coverage detected