Peano
Loading...
Searching...
No Matches
PrecisionControl.h
Go to the documentation of this file.
1
// This file is part of the ExaHyPE2 project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
namespace
exahype2
{
6
enum class
PrecisionCommand
{
7
Long_double
=
sizeof
(
long
double),
8
Double
=
sizeof
(
double
),
9
Single
=
sizeof
(float),
10
Float
=
Single
,
11
Half
=
sizeof
(
float
) / 2,
12
Float16_t
=
Half
,
13
FP16
=
Half
,
14
Bfloat
= -1,
15
Bfloat16_t
=
Bfloat
,
16
BF16
=
Bfloat
,
17
Custom
18
};
19
23
PrecisionCommand
getDefaultPrecisionCommand
();
24
}
// namespace exahype2
exahype2
This file is part of the ExaHyPE 2 project within Peano 4.
Definition
ah-finder-options.h:8
exahype2::getDefaultPrecisionCommand
PrecisionCommand getDefaultPrecisionCommand()
The default is double as this is the highest precision available per default.
exahype2::PrecisionCommand
PrecisionCommand
Definition
PrecisionControl.h:6
exahype2::PrecisionCommand::Float
@ Float
Definition
PrecisionControl.h:10
exahype2::PrecisionCommand::Long_double
@ Long_double
Definition
PrecisionControl.h:7
exahype2::PrecisionCommand::Bfloat
@ Bfloat
Definition
PrecisionControl.h:14
exahype2::PrecisionCommand::Single
@ Single
Definition
PrecisionControl.h:9
exahype2::PrecisionCommand::Bfloat16_t
@ Bfloat16_t
Definition
PrecisionControl.h:15
exahype2::PrecisionCommand::Custom
@ Custom
Definition
PrecisionControl.h:17
exahype2::PrecisionCommand::FP16
@ FP16
Definition
PrecisionControl.h:13
exahype2::PrecisionCommand::Half
@ Half
Definition
PrecisionControl.h:11
exahype2::PrecisionCommand::Double
@ Double
Definition
PrecisionControl.h:8
exahype2::PrecisionCommand::Float16_t
@ Float16_t
Definition
PrecisionControl.h:12
exahype2::PrecisionCommand::BF16
@ BF16
Definition
PrecisionControl.h:16
src
exahype2
PrecisionControl.h
Generated on
for Peano by
1.15.0