Home | History | Annotate | Download | only in gpu

Lines Matching defs:ProcessState

69 ProcessState* ProcessState::instance_ = nullptr;
71 /*static*/ ProcessState* ProcessState::singleton() {
73 instance_ = new ProcessState;
79 ProcessState::ProcessState() : gpu_device_enabled_(false) {
84 ProcessState::~ProcessState() {
91 string ProcessState::MemDesc::DebugString() {
96 ProcessState::MemDesc ProcessState::PtrType(const void* ptr) {
106 Allocator* ProcessState::GetGPUAllocator(const GPUOptions& options,
177 Allocator* ProcessState::GetCPUAllocator(int numa_node) {
208 << cpu_mem_limit_in_mb << " MB for ProcessState CPU allocator";
213 VLOG(2) << "Using PoolAllocator for ProcessState CPU allocator";
225 Allocator* ProcessState::GetCUDAHostAllocator(int numa_node) {
303 void ProcessState::AddGPUAllocVisitor(int bus_id, AllocVisitor visitor) {