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
96c856c5
Commit
96c856c5
authored
Mar 12, 2019
by
Paul
Browse files
Formatting
parent
1e969c74
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
src/targets/gpu/convolution.cpp
src/targets/gpu/convolution.cpp
+14
-14
No files found.
src/targets/gpu/convolution.cpp
View file @
96c856c5
...
@@ -94,7 +94,7 @@ void miopen_convolution::finalize(context& ctx,
...
@@ -94,7 +94,7 @@ void miopen_convolution::finalize(context& ctx,
// Check that workspace hasn't changed
// Check that workspace hasn't changed
auto
size
=
inputs
.
at
(
2
).
bytes
();
auto
size
=
inputs
.
at
(
2
).
bytes
();
auto
ws
=
compile
(
ctx
,
output_shape
,
std
::
move
(
inputs
));
auto
ws
=
compile
(
ctx
,
output_shape
,
std
::
move
(
inputs
));
if
(
ws
.
bytes
()
>
size
)
if
(
ws
.
bytes
()
>
size
)
MIGRAPHX_THROW
(
"Workspace has changed during finalization."
);
MIGRAPHX_THROW
(
"Workspace has changed during finalization."
);
}
}
...
...
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