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
04058bf6
Commit
04058bf6
authored
Sep 01, 2023
by
Jing Zhang
Browse files
fixed comment
parent
573bd067
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
library/include/ck/library/utility/host_tensor_generator.hpp
library/include/ck/library/utility/host_tensor_generator.hpp
+4
-0
No files found.
library/include/ck/library/utility/host_tensor_generator.hpp
View file @
04058bf6
...
@@ -95,6 +95,7 @@ struct GeneratorTensor_2<int8_t>
...
@@ -95,6 +95,7 @@ struct GeneratorTensor_2<int8_t>
}
}
};
};
#if defined CK_ENABLE_FP8 || defined CK_ENABLE_BF8
template
<
>
template
<
>
struct
GeneratorTensor_2
<
ck
::
f8_t
>
struct
GeneratorTensor_2
<
ck
::
f8_t
>
{
{
...
@@ -108,6 +109,7 @@ struct GeneratorTensor_2<ck::f8_t>
...
@@ -108,6 +109,7 @@ struct GeneratorTensor_2<ck::f8_t>
return
ck
::
type_convert
<
ck
::
f8_t
>
(
tmp
);
return
ck
::
type_convert
<
ck
::
f8_t
>
(
tmp
);
}
}
};
};
#endif
template
<
typename
T
>
template
<
typename
T
>
struct
GeneratorTensor_3
struct
GeneratorTensor_3
...
@@ -141,6 +143,7 @@ struct GeneratorTensor_3<ck::bhalf_t>
...
@@ -141,6 +143,7 @@ struct GeneratorTensor_3<ck::bhalf_t>
}
}
};
};
#if defined CK_ENABLE_FP8 || defined CK_ENABLE_BF8
template
<
>
template
<
>
struct
GeneratorTensor_3
<
ck
::
f8_t
>
struct
GeneratorTensor_3
<
ck
::
f8_t
>
{
{
...
@@ -157,6 +160,7 @@ struct GeneratorTensor_3<ck::f8_t>
...
@@ -157,6 +160,7 @@ struct GeneratorTensor_3<ck::f8_t>
return
ck
::
type_convert
<
ck
::
f8_t
>
(
fp32_tmp
);
return
ck
::
type_convert
<
ck
::
f8_t
>
(
fp32_tmp
);
}
}
};
};
#endif
template
<
typename
T
>
template
<
typename
T
>
struct
GeneratorTensor_4
struct
GeneratorTensor_4
...
...
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