Loading [MathJax]/extensions/TeX/AMSsymbols.js
SIRIUS
7.5.0
Electronic structure library and applications
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
y
z
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
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
y
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
b
c
d
e
i
j
n
o
p
r
s
v
Enumerations
Related Functions
Files
File List
File Members
All
Functions
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
src
core
acc
cusolver.cpp
1
#ifdef SIRIUS_CUDA
2
#include "
cusolver.hpp
"
3
4
namespace
sirius
{
5
namespace
acc {
6
namespace
cusolver {
7
8
cusolverDnHandle_t&
9
cusolver_handle()
10
{
11
static
cusolverDnHandle_t handle;
12
return
handle;
13
}
14
15
void
16
create_handle()
17
{
18
CALL_CUSOLVER(cusolverDnCreate, (&cusolver_handle()));
19
}
20
21
void
22
destroy_handle()
23
{
24
CALL_CUSOLVER(cusolverDnDestroy, (cusolver_handle()));
25
}
26
27
}
// namespace cusolver
28
}
// namespace acc
29
}
// namespace sirius
30
31
#endif
cusolver.hpp
Interface to CUDA eigen-solver library.
sirius
Namespace of the SIRIUS library.
Definition:
sirius.f90:5
Generated on Wed Nov 22 2023 17:00:15 for SIRIUS by
1.9.3