ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
allocator_test.cpp File Reference
#include <vector>
#include <gtest/gtest.h>
#include <ATen/core/tensor.h>
#include <base/core/allocator.h>
#include <base/core/cpu_allocator.h>
#include <base/utils/logging.h>
Include dependency graph for allocator_test.cpp:

Functions

 TEST (CPUAllocator, AllocateAndFree)
 TEST (CPUAllocator, AllocatedSize)
 TEST (CPUAllocator, GetDeviceType)
 TEST (Logging, ReturnsMessage)
 TEST (LoggingDeathTest, AbortsWithContext)
 TEST (RefCount, TracksReferencesAndDeletes)

Function Documentation

◆ TEST() [1/6]

TEST ( CPUAllocator ,
AllocateAndFree  )
Here is the call graph for this function:

◆ TEST() [2/6]

TEST ( CPUAllocator ,
AllocatedSize  )
Here is the call graph for this function:

◆ TEST() [3/6]

TEST ( CPUAllocator ,
GetDeviceType  )
Here is the call graph for this function:

◆ TEST() [4/6]

TEST ( Logging ,
ReturnsMessage  )

◆ TEST() [5/6]

TEST ( LoggingDeathTest ,
AbortsWithContext  )

◆ TEST() [6/6]

TEST ( RefCount ,
TracksReferencesAndDeletes  )