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

Method Equals

cpp/src/arrow/gpu/cuda_context.cc:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223bool CudaDevice::Equals(const Device& other) const {
224 if (!IsCudaDevice(other)) {
225 return false;
226 }
227 return checked_cast<const CudaDevice&>(other).device_number() == device_number();
228}
229
230int CudaDevice::device_number() const { return impl_->props.device_number_; }
231

Callers

nothing calls this directly

Calls 2

IsCudaDeviceFunction · 0.85
device_numberMethod · 0.80

Tested by

no test coverage detected