ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Functions
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 dependency graph for allocator_test.cpp:

Functions

 TEST (CPUAllocator, AllocateAndFree)
 
 TEST (CPUAllocator, AllocatedSize)
 
 TEST (CPUAllocator, GetDeviceType)
 

Function Documentation

◆ TEST() [1/3]

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

◆ TEST() [2/3]

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

◆ TEST() [3/3]

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