Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
775dfe8a
Commit
775dfe8a
authored
Oct 31, 2022
by
charlie
Browse files
Another error note
parent
8b16c1d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/include/migraphx/op/broadcast.hpp
src/include/migraphx/op/broadcast.hpp
+2
-1
No files found.
src/include/migraphx/op/broadcast.hpp
View file @
775dfe8a
...
@@ -108,7 +108,8 @@ struct broadcast
...
@@ -108,7 +108,8 @@ struct broadcast
}
}
if
(
axis
>=
s1
.
ndim
())
if
(
axis
>=
s1
.
ndim
())
{
{
MIGRAPHX_THROW
(
"BROADCAST_2in: axis is out of range"
);
MIGRAPHX_THROW
(
"BROADCAST_2in: axis "
+
migraphx
::
to_string
(
axis
)
+
" is out of range"
);
}
}
if
(
s1
.
dynamic
())
if
(
s1
.
dynamic
())
{
{
...
...
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