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
7665ca36
"...container-toolkit.git" did not exist on "d7e13eb95816b059454c2c7a304cd3670ad71187"
Commit
7665ca36
authored
Jul 02, 2022
by
Paul
Browse files
Merge branch 'jit-layernorm' into jit-layernorm-reg-unroll
parents
07857fb4
7b332efc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/jit/layernorm.cpp
src/targets/gpu/jit/layernorm.cpp
+1
-1
No files found.
src/targets/gpu/jit/layernorm.cpp
View file @
7665ca36
...
@@ -55,7 +55,7 @@ struct layernorm_compiler : compiler<layernorm_compiler>
...
@@ -55,7 +55,7 @@ struct layernorm_compiler : compiler<layernorm_compiler>
auto
faxis
=
find_fast_axis
({
inputs
.
front
()});
auto
faxis
=
find_fast_axis
({
inputs
.
front
()});
vectorize
vec
{};
vectorize
vec
{};
// Vectorize if the axis is a reduction axis
// Vectorize if the axis is a reduction axis
if
(
inputs
.
back
().
lens
()[
f
axis
]
==
1
)
if
(
axis
==
faxis
)
{
{
vec
=
vectorize
::
elements
(
faxis
,
inputs
);
vec
=
vectorize
::
elements
(
faxis
,
inputs
);
}
}
...
...
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