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
1e0d4551
"test/verify/1ck_elementwise_test.cpp" did not exist on "e44cecbc67d53dd62ef575eebd81d61dc866b8b3"
Commit
1e0d4551
authored
Sep 23, 2018
by
Paul
Browse files
Formatting
parent
445d4b31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/include/migraph/matcher.hpp
src/include/migraph/matcher.hpp
+10
-10
No files found.
src/include/migraph/matcher.hpp
View file @
1e0d4551
...
@@ -153,19 +153,19 @@ basic_matcher<predicate_matcher<P>> make_basic_pred_matcher(P p)
...
@@ -153,19 +153,19 @@ basic_matcher<predicate_matcher<P>> make_basic_pred_matcher(P p)
return
{{
p
}};
return
{{
p
}};
}
}
#define MIGRAPH_BASIC_MATCHER(name, ...) \
#define MIGRAPH_BASIC_MATCHER(name, ...)
\
struct name##_m \
struct name##_m
\
{ \
{
\
instruction_ref match(__VA_ARGS__) const; \
instruction_ref match(__VA_ARGS__) const;
\
}; \
};
\
const constexpr auto name = migraph::matchers::basic_matcher<name##_m>{{}}; \
const constexpr auto name = migraph::matchers::basic_matcher<name##_m>{{}}; \
inline instruction_ref name##_m::match(__VA_ARGS__) const
inline instruction_ref name##_m::match(__VA_ARGS__) const
#define MIGRAPH_PRED_MATCHER(name, ...) \
#define MIGRAPH_PRED_MATCHER(name, ...)
\
struct name##_m \
struct name##_m
\
{ \
{
\
bool operator()(__VA_ARGS__) const; \
bool operator()(__VA_ARGS__) const;
\
}; \
};
\
const constexpr auto name = migraph::matchers::basic_matcher<predicate_matcher<name##_m>>{{}}; \
const constexpr auto name = migraph::matchers::basic_matcher<predicate_matcher<name##_m>>{{}}; \
inline bool name##_m::operator()(__VA_ARGS__) const
inline bool name##_m::operator()(__VA_ARGS__) const
...
...
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