MCPcopy Create free account
hub / github.com/apache/arrow / SerializeRecordBatch

Function SerializeRecordBatch

cpp/src/arrow/gpu/cuda_arrow_ipc.cc:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43namespace cuda {
44
45Result<std::shared_ptr<CudaBuffer>> SerializeRecordBatch(const RecordBatch& batch,
46 CudaContext* ctx) {
47 ARROW_ASSIGN_OR_RAISE(auto buf,
48 ipc::SerializeRecordBatch(batch, ctx->memory_manager()));
49 return CudaBuffer::FromBuffer(buf);
50}
51
52Result<std::shared_ptr<RecordBatch>> ReadRecordBatch(
53 const std::shared_ptr<Schema>& schema, const ipc::DictionaryMemo* dictionary_memo,

Callers 1

TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.56