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
45a83990
Commit
45a83990
authored
Nov 05, 2018
by
Shucai Xiao
Browse files
clange format for changed files.
parent
1aaccf06
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
14 deletions
+14
-14
src/auto_contiguous.cpp
src/auto_contiguous.cpp
+1
-1
src/dead_code_elimination.cpp
src/dead_code_elimination.cpp
+1
-1
src/instruction.cpp
src/instruction.cpp
+1
-1
src/onnx/onnx.cpp
src/onnx/onnx.cpp
+1
-1
src/opt/memory_coloring.cpp
src/opt/memory_coloring.cpp
+1
-1
src/opt/memory_coloring_impl.cpp
src/opt/memory_coloring_impl.cpp
+1
-1
src/targets/gpu/device/add.cpp
src/targets/gpu/device/add.cpp
+1
-1
src/targets/gpu/device/add_relu.cpp
src/targets/gpu/device/add_relu.cpp
+1
-1
src/targets/gpu/device/concat.cpp
src/targets/gpu/device/concat.cpp
+1
-1
src/targets/gpu/device/contiguous.cpp
src/targets/gpu/device/contiguous.cpp
+1
-1
src/targets/gpu/device/mul.cpp
src/targets/gpu/device/mul.cpp
+1
-1
src/targets/gpu/rocblas.cpp
src/targets/gpu/rocblas.cpp
+1
-1
src/targets/gpu/target.cpp
src/targets/gpu/target.cpp
+1
-1
src/targets/gpu/write_literals.cpp
src/targets/gpu/write_literals.cpp
+1
-1
No files found.
src/auto_contiguous.cpp
View file @
45a83990
...
@@ -20,5 +20,5 @@ void auto_contiguous::apply(program& p) const
...
@@ -20,5 +20,5 @@ void auto_contiguous::apply(program& p) const
}
}
}
}
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/dead_code_elimination.cpp
View file @
45a83990
...
@@ -62,5 +62,5 @@ void dead_code_elimination::apply(program& p) const
...
@@ -62,5 +62,5 @@ void dead_code_elimination::apply(program& p) const
p
.
remove_instructions
(
std
::
next
(
last
),
p
.
end
());
p
.
remove_instructions
(
std
::
next
(
last
),
p
.
end
());
}
}
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/instruction.cpp
View file @
45a83990
...
@@ -183,5 +183,5 @@ shape compute_shape(const operation& op, const std::vector<instruction_ref>& arg
...
@@ -183,5 +183,5 @@ shape compute_shape(const operation& op, const std::vector<instruction_ref>& arg
return
op
.
compute_shape
(
compute_shapes
(
args
));
return
op
.
compute_shape
(
compute_shapes
(
args
));
}
}
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/onnx/onnx.cpp
View file @
45a83990
...
@@ -626,5 +626,5 @@ program parse_onnx(const std::string& name)
...
@@ -626,5 +626,5 @@ program parse_onnx(const std::string& name)
return
std
::
move
(
parser
.
prog
);
return
std
::
move
(
parser
.
prog
);
}
}
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/opt/memory_coloring.cpp
View file @
45a83990
...
@@ -13,5 +13,5 @@ void memory_coloring::apply(program& p) const
...
@@ -13,5 +13,5 @@ void memory_coloring::apply(program& p) const
}
}
}
}
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/opt/memory_coloring_impl.cpp
View file @
45a83990
...
@@ -359,5 +359,5 @@ void live_interval::dump()
...
@@ -359,5 +359,5 @@ void live_interval::dump()
#endif
#endif
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/device/add.cpp
View file @
45a83990
...
@@ -22,5 +22,5 @@ void add(hipStream_t stream,
...
@@ -22,5 +22,5 @@ void add(hipStream_t stream,
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/device/add_relu.cpp
View file @
45a83990
...
@@ -27,5 +27,5 @@ void add_relu(hipStream_t stream,
...
@@ -27,5 +27,5 @@ void add_relu(hipStream_t stream,
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/device/concat.cpp
View file @
45a83990
...
@@ -34,5 +34,5 @@ argument concat(hipStream_t stream,
...
@@ -34,5 +34,5 @@ argument concat(hipStream_t stream,
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/device/contiguous.cpp
View file @
45a83990
...
@@ -14,5 +14,5 @@ void contiguous(hipStream_t stream, argument result, argument arg)
...
@@ -14,5 +14,5 @@ void contiguous(hipStream_t stream, argument result, argument arg)
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/device/mul.cpp
View file @
45a83990
...
@@ -22,5 +22,5 @@ void mul(hipStream_t stream,
...
@@ -22,5 +22,5 @@ void mul(hipStream_t stream,
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/rocblas.cpp
View file @
45a83990
...
@@ -19,5 +19,5 @@ rocblas_handle_ptr create_rocblas_handle_ptr(hipStream_t s)
...
@@ -19,5 +19,5 @@ rocblas_handle_ptr create_rocblas_handle_ptr(hipStream_t s)
}
}
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/target.cpp
View file @
45a83990
...
@@ -61,5 +61,5 @@ std::string target::name() const { return "miopen"; }
...
@@ -61,5 +61,5 @@ std::string target::name() const { return "miopen"; }
migraph
::
context
target
::
get_context
()
const
{
return
context
{};
}
migraph
::
context
target
::
get_context
()
const
{
return
context
{};
}
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
src/targets/gpu/write_literals.cpp
View file @
45a83990
...
@@ -53,5 +53,5 @@ void write_literals::apply(program& p) const
...
@@ -53,5 +53,5 @@ void write_literals::apply(program& p) const
}
}
}
// namespace gpu
}
// namespace gpu
}
//
inline
namespace version_1
}
// namespace version_1
}
// namespace migraph
}
// namespace migraph
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