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
7b55afee
"...composable_kernel.git" did not exist on "420c0312c773a7de1c19746c27ad7d29a5f72d68"
Commit
7b55afee
authored
Jul 13, 2018
by
wsttiger
Browse files
Cleanup
parent
05031d74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
src/targets/miopen/kernels.cpp
src/targets/miopen/kernels.cpp
+0
-3
src/targets/miopen/miopen_target.cpp
src/targets/miopen/miopen_target.cpp
+0
-7
No files found.
src/targets/miopen/kernels.cpp
View file @
7b55afee
...
@@ -57,9 +57,6 @@ void hip_contiguous(migraph::shape output_shape, migraph::argument arg, migraph:
...
@@ -57,9 +57,6 @@ void hip_contiguous(migraph::shape output_shape, migraph::argument arg, migraph:
}
}
dim3
nblocks
(
512
);
dim3
nblocks
(
512
);
dim3
nthreads
(
512
);
dim3
nthreads
(
512
);
// std::cout << "nelements: " << s.elements() << std::endl;
// std::cout << "A ptr: " << input.data() << std::endl;
// std::cout << "At ptr: " << output.data() << std::endl;
hipLaunchKernelGGL
((
contiguous_gpu
<
int
,
4
>
),
hipLaunchKernelGGL
((
contiguous_gpu
<
int
,
4
>
),
nblocks
,
nblocks
,
nthreads
,
nthreads
,
...
...
src/targets/miopen/miopen_target.cpp
View file @
7b55afee
...
@@ -201,13 +201,6 @@ struct miopen_contiguous
...
@@ -201,13 +201,6 @@ struct miopen_contiguous
}
}
argument
compute
(
context
&
,
shape
output_shape
,
std
::
vector
<
argument
>
args
)
const
argument
compute
(
context
&
,
shape
output_shape
,
std
::
vector
<
argument
>
args
)
const
{
{
// argument result{output_shape};
// visit_all(result, from_gpu(args[0]))([&](auto output, auto input) {
// shape_for_each(output.get_shape(), [&](const auto& idx) {
// output(idx.begin(), idx.end()) = input(idx.begin(), idx.end());
// });
// });
// return to_gpu(result);
hip_contiguous
(
output_shape
,
args
.
at
(
0
),
args
.
at
(
1
));
hip_contiguous
(
output_shape
,
args
.
at
(
0
),
args
.
at
(
1
));
return
args
.
at
(
1
);
return
args
.
at
(
1
);
}
}
...
...
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