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
2ee1c0a7
"vscode:/vscode.git/clone" did not exist on "9841d48a108b0e14da6572de6be0b47d70bbb641"
Commit
2ee1c0a7
authored
Jun 16, 2023
by
Rostyslav Geyyer
Browse files
Move f8_t definition
parent
08e263e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
include/ck/utility/data_type.hpp
include/ck/utility/data_type.hpp
+1
-1
include/ck/utility/f8_utils.hpp
include/ck/utility/f8_utils.hpp
+2
-3
include/ck/utility/type_convert.hpp
include/ck/utility/type_convert.hpp
+1
-0
No files found.
include/ck/utility/data_type.hpp
View file @
2ee1c0a7
...
...
@@ -3,7 +3,6 @@
#pragma once
#include "ck/utility/f8_utils.hpp"
#include "ck/utility/statically_indexed_array.hpp"
namespace
ck
{
...
...
@@ -13,6 +12,7 @@ using half_t = _Float16;
#ifdef CK_EXPERIMENTAL_BIT_INT_EXTENSION_INT4
using
int4_t
=
_BitInt
(
4
);
#endif
using
f8_t
=
uint8_t
;
// vector_type
template
<
typename
T
,
index_t
N
>
...
...
include/ck/utility/f8_utils.hpp
View file @
2ee1c0a7
...
...
@@ -3,10 +3,9 @@
#pragma once
namespac
e
ck
{
#includ
e
"
ck
/utility/data_type.hpp"
using
f8_t
=
uint8_t
;
using
half_t
=
_Float16
;
namespace
ck
{
// fp8 rounding modes
// use standard for rounding to nearest, the faster one
...
...
include/ck/utility/type_convert.hpp
View file @
2ee1c0a7
...
...
@@ -4,6 +4,7 @@
#pragma once
#include "ck/utility/data_type.hpp"
#include "ck/utility/f8_utils.hpp"
#include "ck/utility/random_gen.hpp"
namespace
ck
{
...
...
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