MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Allocate

Method Allocate

tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:620–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620DeviceMemoryBase GpuExecutor::Allocate(uint64 size, int64 memory_space) {
621 CHECK_EQ(memory_space, 0);
622 return DeviceMemoryBase(GpuDriver::DeviceAllocate(context_, size), size);
623}
624
625void* GpuExecutor::GetSubBuffer(DeviceMemoryBase* mem, uint64 offset_bytes,
626 uint64 size_bytes) {

Callers

nothing calls this directly

Calls 1

DeviceMemoryBaseClass · 0.50

Tested by

no test coverage detected