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
d362aa6e
Commit
d362aa6e
authored
Jul 08, 2022
by
Paul
Browse files
Format
parent
d26bf882
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
src/include/migraphx/partition.hpp
src/include/migraphx/partition.hpp
+3
-1
src/include/migraphx/pass_manager.hpp
src/include/migraphx/pass_manager.hpp
+3
-1
src/partition.cpp
src/partition.cpp
+3
-2
No files found.
src/include/migraphx/partition.hpp
View file @
d362aa6e
...
@@ -34,7 +34,9 @@ inline namespace MIGRAPHX_INLINE_NS {
...
@@ -34,7 +34,9 @@ inline namespace MIGRAPHX_INLINE_NS {
struct
program
;
struct
program
;
void
partition
(
program
&
p
,
module
&
root
,
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
assignments
);
void
partition
(
program
&
p
,
module
&
root
,
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
assignments
);
}
// namespace MIGRAPHX_INLINE_NS
}
// namespace MIGRAPHX_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
...
...
src/include/migraphx/pass_manager.hpp
View file @
d362aa6e
...
@@ -47,7 +47,9 @@ struct module_pass_manager
...
@@ -47,7 +47,9 @@ struct module_pass_manager
void
run_passes
(
module
&
mod
,
const
std
::
vector
<
pass
>&
passes
,
tracer
trace
=
tracer
{});
void
run_passes
(
module
&
mod
,
const
std
::
vector
<
pass
>&
passes
,
tracer
trace
=
tracer
{});
void
run_passes
(
program
&
prog
,
const
std
::
vector
<
pass
>&
passes
,
tracer
trace
=
tracer
{});
void
run_passes
(
program
&
prog
,
const
std
::
vector
<
pass
>&
passes
,
tracer
trace
=
tracer
{});
void
run_passes
(
program
&
prog
,
module
&
root
const
std
::
vector
<
pass
>&
passes
,
tracer
trace
=
tracer
{});
void
run_passes
(
program
&
prog
,
module
&
root
const
std
::
vector
<
pass
>&
passes
,
tracer
trace
=
tracer
{});
}
// namespace MIGRAPHX_INLINE_NS
}
// namespace MIGRAPHX_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
...
...
src/partition.cpp
View file @
d362aa6e
...
@@ -11,9 +11,10 @@ struct partition_op
...
@@ -11,9 +11,10 @@ struct partition_op
// TODO: Implement compute_shape and compute
// TODO: Implement compute_shape and compute
};
};
void
partition
(
program
&
p
,
module
&
root
,
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
assignments
)
void
partition
(
program
&
p
,
module
&
root
,
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
assignments
)
{
{
}
}
}
// namespace MIGRAPHX_INLINE_NS
}
// namespace MIGRAPHX_INLINE_NS
...
...
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