| 269 | } |
| 270 | |
| 271 | bool IsCudaDevice(const Device& device) { |
| 272 | return device.type_name() == kCudaDeviceTypeName; |
| 273 | } |
| 274 | |
| 275 | Result<std::shared_ptr<Device::Stream>> CudaDevice::MakeStream(unsigned int flags) { |
| 276 | ARROW_ASSIGN_OR_RAISE(auto context, GetContext()); |