QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | List of all members
quda::MemAlloc Class Reference

Public Member Functions

 MemAlloc ()
 
 MemAlloc (std::string func, std::string file, int line)
 
MemAllocoperator= (const MemAlloc &a)
 
 MemAlloc ()
 
 MemAlloc (std::string func, std::string file, int line)
 
MemAllocoperator= (const MemAlloc &a)
 

Public Attributes

std::string func
 
std::string file
 
int line
 
size_t size
 
size_t base_size
 

Detailed Description

Definition at line 24 of file malloc.cpp.

Constructor & Destructor Documentation

◆ MemAlloc() [1/4]

quda::MemAlloc::MemAlloc ( )
inline

Definition at line 37 of file malloc.cpp.

◆ MemAlloc() [2/4]

quda::MemAlloc::MemAlloc ( std::string  func,
std::string  file,
int  line 
)
inline

Definition at line 39 of file malloc.cpp.

◆ MemAlloc() [3/4]

quda::MemAlloc::MemAlloc ( )
inline

Definition at line 35 of file malloc.cpp.

◆ MemAlloc() [4/4]

quda::MemAlloc::MemAlloc ( std::string  func,
std::string  file,
int  line 
)
inline

Definition at line 37 of file malloc.cpp.

Member Function Documentation

◆ operator=() [1/2]

MemAlloc& quda::MemAlloc::operator= ( const MemAlloc a)
inline

Definition at line 47 of file malloc.cpp.

◆ operator=() [2/2]

MemAlloc& quda::MemAlloc::operator= ( const MemAlloc a)
inline

Definition at line 45 of file malloc.cpp.

Member Data Documentation

◆ base_size

size_t quda::MemAlloc::base_size

Definition at line 32 of file malloc.cpp.

◆ file

std::string quda::MemAlloc::file

Definition at line 29 of file malloc.cpp.

◆ func

std::string quda::MemAlloc::func

Definition at line 28 of file malloc.cpp.

◆ line

int quda::MemAlloc::line

Definition at line 30 of file malloc.cpp.

◆ size

size_t quda::MemAlloc::size

Definition at line 31 of file malloc.cpp.


The documentation for this class was generated from the following file: