Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
6de7d10d
Commit
6de7d10d
authored
Sep 11, 2023
by
Rostyslav Geyyer
Browse files
Remove leftover comments
parent
f605b332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
include/ck/utility/f8_utils.hpp
include/ck/utility/f8_utils.hpp
+0
-6
No files found.
include/ck/utility/f8_utils.hpp
View file @
6de7d10d
...
@@ -134,12 +134,6 @@ __host__ __device__ Y run_cast_to_f8(X x, uint32_t rng)
...
@@ -134,12 +134,6 @@ __host__ __device__ Y run_cast_to_f8(X x, uint32_t rng)
template
<
typename
X
,
typename
Y
,
bool
negative_zero_nan
>
template
<
typename
X
,
typename
Y
,
bool
negative_zero_nan
>
__host__
__device__
Y
run_cast_from_f8
(
X
x
)
__host__
__device__
Y
run_cast_from_f8
(
X
x
)
{
{
// check data type
// constexpr bool is_half = std::is_same<Y, half_t>::value;
// constexpr bool is_float = std::is_same<Y, float>::value;
// constexpr bool is_f8_t = std::is_same<X, f8_t>::value;
// constexpr bool is_bf8_t = std::is_same<X, bf8_t>::value;
// fp8/bf8 exponent/mantissa layout
// fp8/bf8 exponent/mantissa layout
constexpr
int
in_exp
=
NumericUtils
<
X
>::
exp
;
constexpr
int
in_exp
=
NumericUtils
<
X
>::
exp
;
constexpr
int
in_mant
=
NumericUtils
<
X
>::
mant
;
constexpr
int
in_mant
=
NumericUtils
<
X
>::
mant
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment