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
MIGraphX
Commits
ddfac084
Commit
ddfac084
authored
Feb 07, 2023
by
Alan Turner
Browse files
Remove used_once from find_add_layernorm
parent
f4a1e94d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/targets/gpu/prefuse_ops.cpp
src/targets/gpu/prefuse_ops.cpp
+2
-1
No files found.
src/targets/gpu/prefuse_ops.cpp
View file @
ddfac084
...
@@ -100,8 +100,9 @@ struct find_add_layernorm
...
@@ -100,8 +100,9 @@ struct find_add_layernorm
{
{
auto
matcher
()
const
auto
matcher
()
const
{
{
// CK branch does not work with the used_once() limitation
return
match
::
layernorm
()(
return
match
::
layernorm
()(
match
::
var
(
"x"
)(
match
::
name
(
"add"
)
(
match
::
used_once
())
.
bind
(
"add"
)));
match
::
var
(
"x"
)(
match
::
name
(
"add"
).
bind
(
"add"
)));
}
}
void
apply
(
module
&
m
,
const
match
::
matcher_result
&
r
)
const
void
apply
(
module
&
m
,
const
match
::
matcher_result
&
r
)
const
...
...
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