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

Function ExportDeviceChunkedArray

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

Source from the content-addressed store, hash-verified

2235}
2236
2237Status ExportDeviceChunkedArray(std::shared_ptr<ChunkedArray> chunked_array,
2238 DeviceAllocationType device_type,
2239 struct ArrowDeviceArrayStream* out) {
2240 memset(out, 0, sizeof(struct ArrowDeviceArrayStream));
2241 out->device_type = static_cast<ArrowDeviceType>(device_type);
2242 return ExportedArrayStream<ChunkedArray, true>::Make(std::move(chunked_array), out);
2243}
2244
2245//////////////////////////////////////////////////////////////////////////
2246// C stream import

Callers 2

TEST_FFunction · 0.85
RoundtripMethod · 0.85

Calls 1

MakeFunction · 0.50

Tested by 2

TEST_FFunction · 0.68
RoundtripMethod · 0.68