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
225d4c1b
Commit
225d4c1b
authored
Dec 10, 2018
by
Paul
Browse files
Formatting
parent
14a2464b
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
27 additions
and
24 deletions
+27
-24
src/include/migraphx/type_name.hpp
src/include/migraphx/type_name.hpp
+1
-1
src/onnx/mnist.cpp
src/onnx/mnist.cpp
+2
-2
src/targets/gpu/abs.cpp
src/targets/gpu/abs.cpp
+1
-1
src/targets/gpu/batchnorm.cpp
src/targets/gpu/batchnorm.cpp
+1
-1
src/targets/gpu/convolution.cpp
src/targets/gpu/convolution.cpp
+1
-1
src/targets/gpu/elu.cpp
src/targets/gpu/elu.cpp
+1
-1
src/targets/gpu/fuse_ops.cpp
src/targets/gpu/fuse_ops.cpp
+2
-2
src/targets/gpu/leaky_relu.cpp
src/targets/gpu/leaky_relu.cpp
+1
-1
src/targets/gpu/pooling.cpp
src/targets/gpu/pooling.cpp
+1
-1
src/targets/gpu/relu.cpp
src/targets/gpu/relu.cpp
+1
-1
src/targets/gpu/sigmoid.cpp
src/targets/gpu/sigmoid.cpp
+1
-1
src/targets/gpu/softmax.cpp
src/targets/gpu/softmax.cpp
+1
-1
src/targets/gpu/tanh.cpp
src/targets/gpu/tanh.cpp
+1
-1
test/cpu_ops_test.cpp
test/cpu_ops_test.cpp
+8
-8
test/matcher.cpp
test/matcher.cpp
+4
-1
No files found.
src/include/migraphx/type_name.hpp
View file @
225d4c1b
...
@@ -18,7 +18,7 @@ const std::string& get_type_name()
...
@@ -18,7 +18,7 @@ const std::string& get_type_name()
name
=
typeid
(
PrivateMigraphTypeNameProbe
).
name
();
name
=
typeid
(
PrivateMigraphTypeNameProbe
).
name
();
name
=
name
.
substr
(
7
);
name
=
name
.
substr
(
7
);
#else
#else
const
char
parameter_name
[]
=
"PrivateMigraphTypeNameProbe ="
;
// NOLINT
const
char
parameter_name
[]
=
"PrivateMigraphTypeNameProbe ="
;
// NOLINT
name
=
__PRETTY_FUNCTION__
;
name
=
__PRETTY_FUNCTION__
;
...
...
src/onnx/mnist.cpp
View file @
225d4c1b
src/targets/gpu/abs.cpp
View file @
225d4c1b
src/targets/gpu/batchnorm.cpp
View file @
225d4c1b
src/targets/gpu/convolution.cpp
View file @
225d4c1b
src/targets/gpu/elu.cpp
View file @
225d4c1b
src/targets/gpu/fuse_ops.cpp
View file @
225d4c1b
src/targets/gpu/leaky_relu.cpp
View file @
225d4c1b
src/targets/gpu/pooling.cpp
View file @
225d4c1b
src/targets/gpu/relu.cpp
View file @
225d4c1b
src/targets/gpu/sigmoid.cpp
View file @
225d4c1b
src/targets/gpu/softmax.cpp
View file @
225d4c1b
src/targets/gpu/tanh.cpp
View file @
225d4c1b
test/cpu_ops_test.cpp
View file @
225d4c1b
test/matcher.cpp
View file @
225d4c1b
...
@@ -385,7 +385,10 @@ struct match_find_sum
...
@@ -385,7 +385,10 @@ struct match_find_sum
migraphx
::
instruction_ref
ins
;
migraphx
::
instruction_ref
ins
;
auto
matcher
()
const
{
return
match
::
name
(
"sum"
);
}
auto
matcher
()
const
{
return
match
::
name
(
"sum"
);
}
void
apply
(
migraphx
::
program
&
,
const
match
::
matcher_result
&
r
)
const
{
EXPECT
(
bool
{
r
.
result
==
ins
});
}
void
apply
(
migraphx
::
program
&
,
const
match
::
matcher_result
&
r
)
const
{
EXPECT
(
bool
{
r
.
result
==
ins
});
}
};
};
struct
match_find_literal
struct
match_find_literal
...
...
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