Public Member Functions | Public Attributes | List of all members
cudf::io::host_buffer Struct Reference

Non-owning view of a host memory buffer. More...

#include <types.hpp>

Public Member Functions

 host_buffer (char const *data, size_t size)
 Construct a new host buffer object. More...
 

Public Attributes

char const * data = nullptr
 Pointer to the buffer.
 
size_t size = 0
 Size of the buffer.
 

Detailed Description

Non-owning view of a host memory buffer.

Deprecated:
Since 23.04

Used to describe buffer input in source_info objects.

Definition at line 261 of file io/types.hpp.

Constructor & Destructor Documentation

◆ host_buffer()

cudf::io::host_buffer::host_buffer ( char const *  data,
size_t  size 
)
inline

Construct a new host buffer object.

Parameters
dataPointer to the buffer
sizeSize of the buffer

Definition at line 272 of file io/types.hpp.


The documentation for this struct was generated from the following file: