Loading [MathJax]/extensions/tex2jax.js
Neko
0.9.1
A portable framework for high-order spectral element flow simulations
Toggle main menu visibility
Main Page
User Guide
Developer Guide
Modules
Modules List
Module 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
z
Functions/Subroutines
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
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
x
Enumerator
c
h
Data Types
Data Types List
Data Type Index
Class Hierarchy
Data Fields
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/Subroutines
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
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
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Functions/Subroutines
_
a
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
Macros
c
d
g
h
m
n
p
s
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
check.hip
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <hip/hip_runtime.h>
3
#include <
device/hip/check.h
>
4
8
void
hip_check
(
const
char
*fname,
const
int
line
,
const
hipError_t
err
)
9
{
10
if
(
err
!=
hipSuccess
) {
11
fprintf
(
stderr
,
"%s in %s:%d \n"
,
hipGetErrorString
(
err
), fname,
line
);
12
exit
(1);
13
}
14
}
8
void
hip_check
(
const
char
*fname,
const
int
line
,
const
hipError_t
err
) {
…
}
hip_check
void hip_check(const char *fname, const int line, const hipError_t err)
Definition
check.hip:8
dirichlet_apply_scalar_kernel
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
Definition
dirichlet_kernel.h:42
check.h
src
device
hip
check.hip
Generated on Sun Dec 29 2024 14:19:48 for Neko by
1.9.8