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

Method Allocate

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:464–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464DeviceMemoryBase GpuExecutor::Allocate(uint64 size, int64 memory_space) {
465 CHECK_EQ(memory_space, 0);
466 return DeviceMemoryBase(GpuDriver::DeviceAllocate(context_, size), size);
467}
468
469void* GpuExecutor::GetSubBuffer(DeviceMemoryBase* mem, uint64 offset_bytes,
470 uint64 size_bytes) {

Callers

nothing calls this directly

Calls 1

DeviceMemoryBaseClass · 0.50

Tested by

no test coverage detected