#include <NvInferRuntime.h>
◆ ~IStreamReaderV2()
| nvinfer1::v_1_0::IStreamReaderV2::~IStreamReaderV2 |
( |
| ) |
|
|
overridedefault |
TensorRT never calls the destructor for an IStreamReaderV2 defined by the application.
◆ IStreamReaderV2() [1/3]
| nvinfer1::v_1_0::IStreamReaderV2::IStreamReaderV2 |
( |
| ) |
|
|
default |
◆ IStreamReaderV2() [2/3]
| nvinfer1::v_1_0::IStreamReaderV2::IStreamReaderV2 |
( |
IStreamReaderV2 const & |
| ) |
|
|
protecteddefault |
◆ IStreamReaderV2() [3/3]
◆ getInterfaceInfo()
| InterfaceInfo nvinfer1::v_1_0::IStreamReaderV2::getInterfaceInfo |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ read()
| virtual int64_t nvinfer1::v_1_0::IStreamReaderV2::read |
( |
void * |
destination, |
|
|
int64_t |
nbBytes, |
|
|
cudaStream_t |
stream |
|
) |
| |
|
pure virtualnoexcept |
Read the next number of bytes in the stream asynchronously.
- Parameters
-
| destination | The memory to write to, call cudaPointerGetAttributes to get the memory location |
| nbBytes | The number of bytes to read |
| stream | The CUDA stream used to do the copy |
- Returns
- The number of bytes read. Negative values indicate an unrecoverable error. A zero indicates that the end of the stream has been reached.
◆ seek()
| virtual bool nvinfer1::v_1_0::IStreamReaderV2::seek |
( |
int64_t |
offset, |
|
|
SeekPosition |
where |
|
) |
| |
|
pure virtualnoexcept |
Sets the position of the stream to the given offset.
- Parameters
-
| offset | The number of bytes to offset from where. |
| where | The position from where the offset is added. |
- See also
- SeekPosition
- Returns
- True if the position is updated successfully.
The documentation for this class was generated from the following file: