| 102 | } |
| 103 | |
| 104 | Result<std::shared_ptr<CudaContext>> NonPrimaryContext() { |
| 105 | ARROW_ASSIGN_OR_RAISE(auto cuctx, NonPrimaryRawContext()); |
| 106 | return device_->GetSharedContext(cuctx); |
| 107 | } |
| 108 | |
| 109 | // Returns nullptr if kOtherGpuNumber does not correspond to an installed GPU |
| 110 | Result<std::shared_ptr<CudaDevice>> OtherGpuDevice() { |
nothing calls this directly
no test coverage detected