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

Function AssertIsCPUBuffer

cpp/src/arrow/buffer_test.cc:213–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void AssertIsCPUBuffer(const Buffer& buf) {
214 ASSERT_TRUE(buf.is_cpu());
215 ASSERT_EQ(*buf.device(), *CPUDevice::Instance());
216}
217
218class TestDevice : public ::testing::Test {
219 public:

Callers 3

TESTFunction · 0.85
TYPED_TESTFunction · 0.85

Calls 1

deviceMethod · 0.45

Tested by

no test coverage detected