| 2235 | } |
| 2236 | |
| 2237 | Status 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 |