Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | Static Public Member Functions | List of all members
arrow::gpu::CudaIpcMemHandle Class Reference

#include <arrow/gpu/cuda_memory.h>

Public Member Functions

 ~CudaIpcMemHandle ()
 
Status Serialize (MemoryPool *pool, std::shared_ptr< Buffer > *out) const
 Write CudaIpcMemHandle to a Buffer. More...
 

Static Public Member Functions

static Status FromBuffer (const void *opaque_handle, std::unique_ptr< CudaIpcMemHandle > *handle)
 Create CudaIpcMemHandle from opaque buffer (e.g. More...
 

Constructor & Destructor Documentation

◆ ~CudaIpcMemHandle()

arrow::gpu::CudaIpcMemHandle::~CudaIpcMemHandle ( )

Member Function Documentation

◆ FromBuffer()

static Status arrow::gpu::CudaIpcMemHandle::FromBuffer ( const void *  opaque_handle,
std::unique_ptr< CudaIpcMemHandle > *  handle 
)
static

Create CudaIpcMemHandle from opaque buffer (e.g.

from another process)

Parameters
[in]opaque_handlea CUipcMemHandle as a const void*
[out]handlethe CudaIpcMemHandle instance
Returns
Status

◆ Serialize()

Status arrow::gpu::CudaIpcMemHandle::Serialize ( MemoryPool pool,
std::shared_ptr< Buffer > *  out 
) const

Write CudaIpcMemHandle to a Buffer.

Parameters
[in]poola MemoryPool to allocate memory from
[out]outthe serialized buffer
Returns
Status

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