mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 12:33:12 +08:00
refactor: correct variable namings
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9e3a8bdf1b
commit
36194c4e7d
@@ -100,16 +100,16 @@ struct Float2HalfParams {
|
||||
uint16_t uintOutput;
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
static const FloatConversion nanFloat = {0x7fc00000};
|
||||
|
||||
Float2HalfParams float2HalfParams[] = {
|
||||
{0.0f, 0x0000},
|
||||
{1.0f, 0x3c00},
|
||||
{PosInfinity.f, 0x7c00},
|
||||
{Nan.f, 0x7e00},
|
||||
{std::ldexp(1.0f, 16), 0x7bff},
|
||||
{0.0f, 0x0000},
|
||||
{1.0f, 0x3c00},
|
||||
{posInfinity.f, 0x7c00},
|
||||
{nanFloat.f, 0x7e00},
|
||||
{std::ldexp(1.0f, 16), 0x7bff},
|
||||
{std::ldexp(1.0f, -25), 0x0000},
|
||||
{std::ldexp(1.0f, -15), 0x0200}};
|
||||
// clang-format on
|
||||
|
||||
typedef ::testing::TestWithParam<Float2HalfParams> Float2HalfTest;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user