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
90132e3d
Commit
90132e3d
authored
Feb 16, 2023
by
Chao Liu
Browse files
clean:
parent
c390260d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-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/element_wise_operation.hpp
...k/tensor_operation/gpu/element/element_wise_operation.hpp
+1
-1
No files found.
include/ck/tensor_operation/gpu/element/binary_element_wise_operation.hpp
View file @
90132e3d
...
@@ -311,7 +311,7 @@ struct AddFastGelu
...
@@ -311,7 +311,7 @@ struct AddFastGelu
{
{
const
float
x0_f
=
c
+
d
;
const
float
x0_f
=
c
+
d
;
float
x1_f
;
float
x1_f
=
0
;
ck
::
tensor_operation
::
element_wise
::
FastGelu
{}.
template
operator
()
<
float
,
float
>(
x1_f
,
ck
::
tensor_operation
::
element_wise
::
FastGelu
{}.
template
operator
()
<
float
,
float
>(
x1_f
,
x0_f
);
x0_f
);
...
...
include/ck/tensor_operation/gpu/element/element_wise_operation.hpp
View file @
90132e3d
...
@@ -228,7 +228,7 @@ struct AddAddFastGelu
...
@@ -228,7 +228,7 @@ struct AddAddFastGelu
{
{
const
float
x0_f
=
c
+
d0
+
d1
;
const
float
x0_f
=
c
+
d0
+
d1
;
float
x1_f
;
float
x1_f
=
0
;
ck
::
tensor_operation
::
element_wise
::
FastGelu
{}.
template
operator
()
<
float
,
float
>(
x1_f
,
ck
::
tensor_operation
::
element_wise
::
FastGelu
{}.
template
operator
()
<
float
,
float
>(
x1_f
,
x0_f
);
x0_f
);
...
...
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