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
b0ad96fd
Commit
b0ad96fd
authored
Apr 28, 2023
by
Rostyslav Geyyer
Browse files
Update the unneeded op to work but warn user
parent
4abeee36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
include/ck/tensor_operation/gpu/element/unary_element_wise_operation.hpp
...or_operation/gpu/element/unary_element_wise_operation.hpp
+4
-1
No files found.
include/ck/tensor_operation/gpu/element/unary_element_wise_operation.hpp
View file @
b0ad96fd
...
@@ -115,7 +115,10 @@ struct ConvertBF16RTN
...
@@ -115,7 +115,10 @@ struct ConvertBF16RTN
template
<
>
template
<
>
__host__
__device__
void
operator
()
<
half_t
,
half_t
>
(
half_t
&
y
,
const
half_t
&
x
)
const
__host__
__device__
void
operator
()
<
half_t
,
half_t
>
(
half_t
&
y
,
const
half_t
&
x
)
const
{
{
y
=
type_convert
<
half_t
>
(
x
);
y
=
x
;
// fill user screen, but exit gracefully
printf
(
"This datatype is not supported, please use ConvertBF16RTN for bf16 data only.
\n
"
);
}
}
};
};
...
...
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