QUDA
1.0.0
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
u
v
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
h
i
k
m
n
p
q
r
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
f
g
i
n
r
s
t
v
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
d
m
q
t
+
Enumerations
i
q
+
Enumerator
e
q
t
x
y
z
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
object.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <
malloc_quda.h
>
14
15
namespace
quda
{
16
17
class
Object
{
18
19
20
public
:
21
inline
Object
() { }
22
inline
virtual
~Object
() { }
23
24
inline
static
void
*
operator
new
(std::size_t
size
) {
25
return
safe_malloc
(
size
);
26
}
27
28
inline
static
void
operator
delete
(
void
* p) {
29
host_free
(p);
30
}
31
32
inline
static
void
*
operator
new
[](std::size_t
size
) {
33
return
safe_malloc
(
size
);
34
}
35
36
inline
static
void
operator
delete
[](
void
* p) {
37
host_free
(p);
38
}
39
};
40
41
}
// namespace quda
host_free
#define host_free(ptr)
Definition:
malloc_quda.h:71
quda::Object::Object
Object()
Definition:
object.h:21
malloc_quda.h
quda
Definition:
blas_cublas.h:5
quda::size
constexpr int size
Definition:
dslash_domain_wall_4d.cuh:8
quda::Object
Definition:
object.h:17
safe_malloc
#define safe_malloc(size)
Definition:
malloc_quda.h:66
quda::Object::~Object
virtual ~Object()
Definition:
object.h:22
Generated by
1.8.13