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

Method NonPrimaryContext

cpp/src/arrow/gpu/cuda_test.cc:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

GetSharedContextMethod · 0.45

Tested by

no test coverage detected