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_ROCM
Commits
12c3c3c0
"...composable_kernel.git" did not exist on "74744cab3e23eb37e1edb980380f68283839bb4a"
Commit
12c3c3c0
authored
Oct 12, 2024
by
letaoqin
Browse files
format
parent
74bc4a95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
include/ck/tensor_operation/gpu/element/binary_element_wise_operation.hpp
...r_operation/gpu/element/binary_element_wise_operation.hpp
+1
-1
include/ck/tensor_operation/gpu/element/unary_element_wise_operation.hpp
...or_operation/gpu/element/unary_element_wise_operation.hpp
+0
-1
No files found.
include/ck/tensor_operation/gpu/element/binary_element_wise_operation.hpp
View file @
12c3c3c0
...
@@ -47,7 +47,7 @@ struct Add
...
@@ -47,7 +47,7 @@ struct Add
__host__
__device__
constexpr
void
__host__
__device__
constexpr
void
operator
()
<
half_t
>
(
half_t
&
y
,
const
float
&
x0
,
const
half_t
&
x1
)
const
operator
()
<
half_t
>
(
half_t
&
y
,
const
float
&
x0
,
const
half_t
&
x1
)
const
{
{
y
=
type_convert
<
half_t
>
(
type_convert
<
float
>
(
x1
)
+
x0
);
y
=
type_convert
<
half_t
>
(
type_convert
<
float
>
(
x1
)
+
x0
);
};
};
template
<
>
template
<
>
...
...
include/ck/tensor_operation/gpu/element/unary_element_wise_operation.hpp
View file @
12c3c3c0
...
@@ -1077,7 +1077,6 @@ struct ConvScaleRelu
...
@@ -1077,7 +1077,6 @@ struct ConvScaleRelu
float
scale_out_
;
float
scale_out_
;
};
};
// support fastconvert of int8 to fp16
// support fastconvert of int8 to fp16
template
<
typename
InputDataType
,
typename
OutputDataType
,
index_t
RegPackNumber
>
template
<
typename
InputDataType
,
typename
OutputDataType
,
index_t
RegPackNumber
>
...
...
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