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
d2778c9e
Commit
d2778c9e
authored
Aug 29, 2018
by
Paul
Browse files
Formatting
parent
87ea2934
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/include/migraph/verify_args.hpp
src/include/migraph/verify_args.hpp
+3
-3
No files found.
src/include/migraph/verify_args.hpp
View file @
d2778c9e
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
namespace
migraph
{
namespace
migraph
{
inline
void
verify_args
(
const
std
::
string
&
name
,
inline
void
verify_args
(
const
std
::
string
&
name
,
const
argument
&
cpu_arg
,
const
argument
&
cpu_arg
,
const
argument
&
gpu_arg
,
const
argument
&
gpu_arg
,
double
tolerance
=
80
)
double
tolerance
=
80
)
{
{
visit_all
(
cpu_arg
,
gpu_arg
)([
&
](
auto
cpu
,
auto
gpu
)
{
visit_all
(
cpu_arg
,
gpu_arg
)([
&
](
auto
cpu
,
auto
gpu
)
{
if
(
not
verify_range
(
cpu
,
gpu
,
tolerance
))
if
(
not
verify_range
(
cpu
,
gpu
,
tolerance
))
...
...
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