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
f07a74d1
Commit
f07a74d1
authored
May 08, 2023
by
Rostyslav Geyyer
Browse files
Format
parent
21481b44
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
include/ck/utility/data_type.hpp
include/ck/utility/data_type.hpp
+6
-7
No files found.
include/ck/utility/data_type.hpp
View file @
f07a74d1
...
@@ -1094,8 +1094,7 @@ inline __host__ __device__ f8_t type_convert<f8_t, float>(float x)
...
@@ -1094,8 +1094,7 @@ inline __host__ __device__ f8_t type_convert<f8_t, float>(float x)
uint32_t
drop_mask
=
(
1
<<
(
mfmt
-
wm
))
-
1
;
uint32_t
drop_mask
=
(
1
<<
(
mfmt
-
wm
))
-
1
;
const
int
max_exp
=
(
1
<<
we
)
-
(
negative_zero_nan
?
1
:
2
);
const
int
max_exp
=
(
1
<<
we
)
-
(
negative_zero_nan
?
1
:
2
);
const
int
exp_low_cutoff
=
const
int
exp_low_cutoff
=
128
-
(
1
<<
(
we
-
1
))
+
1
-
(
negative_zero_nan
?
1
:
0
);
128
-
(
1
<<
(
we
-
1
))
+
1
-
(
negative_zero_nan
?
1
:
0
);
exponent
-=
exp_low_cutoff
-
1
;
exponent
-=
exp_low_cutoff
-
1
;
if
(
exponent
<=
0
)
if
(
exponent
<=
0
)
...
...
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