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
47eee83f
"...targets/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "71c8181cd48060179ba1a9ac460cd346f5690591"
Commit
47eee83f
authored
Apr 17, 2019
by
Shucai Xiao
Browse files
Merge branch 'adjust_gpu_allocation' into ins_fp32_fp16
parents
9a43b32c
5c0e4b60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/targets/gpu/adjust_allocation.cpp
src/targets/gpu/adjust_allocation.cpp
+4
-0
src/targets/gpu/include/migraphx/gpu/adjust_allocation.hpp
src/targets/gpu/include/migraphx/gpu/adjust_allocation.hpp
+0
-1
No files found.
src/targets/gpu/adjust_allocation.cpp
View file @
47eee83f
...
...
@@ -11,6 +11,10 @@ void adjust_allocation::apply(program& p) const
{
for
(
auto
ins
:
iterator_for
(
p
))
{
// skip instruction with no input
if
(
ins
->
inputs
().
empty
())
continue
;
if
(
ins
->
name
()
==
"load"
)
continue
;
...
...
src/targets/gpu/include/migraphx/gpu/adjust_allocation.hpp
View file @
47eee83f
...
...
@@ -12,7 +12,6 @@ namespace gpu {
struct
adjust_allocation
{
context
*
ctx
=
nullptr
;
std
::
string
name
()
const
{
return
"gpu::adjust_allocation"
;
}
void
apply
(
program
&
p
)
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