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
c61c099f
Commit
c61c099f
authored
Oct 05, 2023
by
Brian Pickrell
Browse files
formatting
parent
81d45161
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
test/targets.cpp
test/targets.cpp
+1
-2
No files found.
test/targets.cpp
View file @
c61c099f
...
...
@@ -69,12 +69,11 @@ TEST_CASE(concurrent_targets)
for
(
auto
i
=
0u
;
i
<
n_threads
;
i
++
)
{
auto
thread_body
=
[
&
target_name
]()
{
// remove all existing targets, if any
std
::
vector
<
std
::
string
>
target_list
=
migraphx
::
get_targets
();
for
(
auto
tt
:
target_list
)
migraphx
::
unregister_target
(
tt
);
auto
ref_target
=
migraphx
::
make_target
(
target_name
);
migraphx
::
register_target
(
ref_target
);
EXPECT
(
test
::
throws
([
&
]
{
ref_target
=
migraphx
::
make_target
(
"xyz"
);
}));
...
...
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