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

Function ExportDeviceRecordBatchReader

cpp/src/arrow/c/bridge.cc:2230–2235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2228}
2229
2230Status ExportDeviceRecordBatchReader(std::shared_ptr<RecordBatchReader> reader,
2231 struct ArrowDeviceArrayStream* out) {
2232 memset(out, 0, sizeof(struct ArrowDeviceArrayStream));
2233 out->device_type = static_cast<ArrowDeviceType>(reader->device_type());
2234 return ExportedArrayStream<RecordBatchReader, true>::Make(std::move(reader), out);
2235}
2236
2237Status ExportDeviceChunkedArray(std::shared_ptr<ChunkedArray> chunked_array,
2238 DeviceAllocationType device_type,

Callers 2

TEST_FFunction · 0.85
RoundtripMethod · 0.85

Calls 2

MakeFunction · 0.50
device_typeMethod · 0.45

Tested by 2

TEST_FFunction · 0.68
RoundtripMethod · 0.68