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
2401848f
Commit
2401848f
authored
Aug 20, 2018
by
Paul
Browse files
Fix naming
parent
ec4d023a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/include/migraph/requires.hpp
src/include/migraph/requires.hpp
+4
-4
No files found.
src/include/migraph/requires.hpp
View file @
2401848f
...
...
@@ -18,7 +18,7 @@ struct requires_enum
{
enum
e
{
A
=
0
a
=
0
};
};
...
...
@@ -32,14 +32,14 @@ struct requires_enum
#define MIGRAPH_REQUIRES(...) \
typename migraph::requires_enum<__LINE__>::e MIGRAPH_REQUIRES_CAT( \
PrivateRequires, \
__LINE__) = migraph::requires_enum<__LINE__>::
A
, \
__LINE__) = migraph::requires_enum<__LINE__>::
a
, \
class = typename std::enable_if<and_<__VA_ARGS__, \
MIGRAPH_REQUIRES_CAT(PrivateRequires, __LINE__) == \
migraph::requires_enum<__LINE__>::
A
>{}>::type
migraph::requires_enum<__LINE__>::
a
>{}>::type
#else
#define MIGRAPH_REQUIRES(...) \
typename migraph::requires_enum<__LINE__>::e MIGRAPH_REQUIRES_CAT( \
PrivateRequires, __LINE__) = migraph::requires_enum<__LINE__>::
A
, \
PrivateRequires, __LINE__) = migraph::requires_enum<__LINE__>::
a
, \
class = typename std::enable_if<and_<__VA_ARGS__>{}>::type
#endif
#endif
...
...
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