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
c7bb2fc3
Commit
c7bb2fc3
authored
Oct 19, 2022
by
umangyadav
Browse files
cppcheck fix
parent
6b8541f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/include/migraphx/gpu/context.hpp
src/targets/gpu/include/migraphx/gpu/context.hpp
+1
-1
No files found.
src/targets/gpu/include/migraphx/gpu/context.hpp
View file @
c7bb2fc3
...
@@ -287,7 +287,7 @@ struct context
...
@@ -287,7 +287,7 @@ struct context
std
::
string
current_gfx_arch
=
this
->
current_device
->
get_device_name
();
std
::
string
current_gfx_arch
=
this
->
current_device
->
get_device_name
();
std
::
size_t
current_cu_count
=
this
->
current_device
->
get_cu_count
();
std
::
size_t
current_cu_count
=
this
->
current_device
->
get_cu_count
();
std
::
string
current_miopen_version
=
get_miopen_version
();
std
::
string
current_miopen_version
=
get_miopen_version
();
if
(
n_cu_count
!=
current_cu_count
||
v_gfx_arch
!=
current_gfx_arch
)
if
(
n_cu_count
!=
current_cu_count
or
v_gfx_arch
!=
current_gfx_arch
)
{
{
std
::
cerr
<<
"MIGraphX model was compiled for gfx_arch: "
<<
v_gfx_arch
std
::
cerr
<<
"MIGraphX model was compiled for gfx_arch: "
<<
v_gfx_arch
<<
" with number of CUs="
<<
n_cu_count
<<
" with number of CUs="
<<
n_cu_count
...
...
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