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

Function IsCudaDevice

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

Source from the content-addressed store, hash-verified

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

Callers 5

EqualsMethod · 0.85
AsCudaDeviceFunction · 0.85
IsCudaMemoryManagerFunction · 0.85
AssertCudaBufferEqualsFunction · 0.85
TEST_FFunction · 0.85

Calls 1

type_nameMethod · 0.45

Tested by 2

AssertCudaBufferEqualsFunction · 0.68
TEST_FFunction · 0.68