Updates and Bug fixes to CUTLASS 3.3 (#1232)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/**************************************************************************************************
|
||||
/***************************************************************************************************
|
||||
* Copyright (c) 2017 - 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
@@ -217,7 +217,7 @@ struct alignas(1) float8_base {
|
||||
// Extract the bits in the FP32 type
|
||||
uint8_t sign = uint8_t((s >> 24 & 0x80));
|
||||
int32_t exp = int32_t((s >> FP32_NUM_MANTISSA_BITS) & 0xff) - FP32_EXPONENT_BIAS;
|
||||
uint32_t mantissa = s & 0x7fffff;
|
||||
int mantissa = s & 0x7fffff;
|
||||
uint8_t u = 0;
|
||||
|
||||
uint8_t const kF8_NaN = 0x7f;
|
||||
|
||||
Reference in New Issue
Block a user