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
a5941134
Commit
a5941134
authored
Jun 13, 2019
by
Shucai Xiao
Browse files
Merge branch 'develop' of
https://github.com/ROCmSoftwarePlatform/AMDMIGraphX
into rnn_optimization
parents
c6f80ac7
a7bd5ded
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
src/include/migraphx/op/pooling.hpp
src/include/migraphx/op/pooling.hpp
+1
-1
src/include/migraphx/streamutils.hpp
src/include/migraphx/streamutils.hpp
+2
-0
No files found.
CMakeLists.txt
View file @
a5941134
...
@@ -22,7 +22,7 @@ find_package(ROCM REQUIRED)
...
@@ -22,7 +22,7 @@ find_package(ROCM REQUIRED)
include
(
ROCMSetupVersion
)
include
(
ROCMSetupVersion
)
rocm_setup_version
(
VERSION 0.
2
)
rocm_setup_version
(
VERSION 0.
3
)
option
(
BUILD_SHARED_LIBS
"Build as a shared library"
ON
)
option
(
BUILD_SHARED_LIBS
"Build as a shared library"
ON
)
...
...
src/include/migraphx/op/pooling.hpp
View file @
a5941134
...
@@ -31,7 +31,7 @@ struct pooling
...
@@ -31,7 +31,7 @@ struct pooling
{
{
return
pack
(
f
(
self
.
mode
,
"mode"
),
return
pack
(
f
(
self
.
mode
,
"mode"
),
f
(
self
.
padding
,
"padding"
),
f
(
self
.
padding
,
"padding"
),
f
(
self
.
padding
,
"padding_mode"
),
f
(
self
.
padding
_mode
,
"padding_mode"
),
f
(
self
.
stride
,
"stride"
),
f
(
self
.
stride
,
"stride"
),
f
(
self
.
lengths
,
"lengths"
));
f
(
self
.
lengths
,
"lengths"
));
}
}
...
...
src/include/migraphx/streamutils.hpp
View file @
a5941134
...
@@ -42,7 +42,9 @@ template <class Range>
...
@@ -42,7 +42,9 @@ template <class Range>
auto
stream_write_value_impl
(
rank
<
1
>
,
std
::
ostream
&
os
,
const
Range
&
r
)
auto
stream_write_value_impl
(
rank
<
1
>
,
std
::
ostream
&
os
,
const
Range
&
r
)
->
decltype
(
r
.
begin
(),
r
.
end
(),
void
())
->
decltype
(
r
.
begin
(),
r
.
end
(),
void
())
{
{
os
<<
"{"
;
os
<<
stream_range
(
r
);
os
<<
stream_range
(
r
);
os
<<
"}"
;
}
}
template
<
class
T
>
template
<
class
T
>
...
...
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