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

Method Allocate

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

Source from the content-addressed store, hash-verified

476 void SetUp() { TestCudaBase::SetUp(); }
477
478 void Allocate(const int64_t size) {
479 ASSERT_OK_AND_ASSIGN(device_buffer_, context_->Allocate(size));
480 writer_.reset(new CudaBufferWriter(device_buffer_));
481 }
482
483 void TestWrites(const int64_t total_bytes, const int64_t chunksize,
484 const int64_t buffer_size = 0) {

Callers 1

TEST_FFunction · 0.45

Calls 2

ASSERT_OK_AND_ASSIGNFunction · 0.70
resetMethod · 0.45

Tested by

no test coverage detected