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
08818705
Commit
08818705
authored
Mar 08, 2022
by
Shucai Xiao
Browse files
clang format
parent
1d9d1e49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
src/targets/gpu/device/contiguous.cpp
src/targets/gpu/device/contiguous.cpp
+13
-11
No files found.
src/targets/gpu/device/contiguous.cpp
View file @
08818705
...
@@ -9,7 +9,8 @@ inline namespace MIGRAPHX_INLINE_NS {
...
@@ -9,7 +9,8 @@ inline namespace MIGRAPHX_INLINE_NS {
namespace
gpu
{
namespace
gpu
{
namespace
device
{
namespace
device
{
__global__
void
cont_kernel
(
void
*
in
,
void
*
out
,
int
os1
,
int
os2
,
int
os3
,
int
is1
,
int
is2
,
int
is3
)
__global__
void
cont_kernel
(
void
*
in
,
void
*
out
,
int
os1
,
int
os2
,
int
os3
,
int
is1
,
int
is2
,
int
is3
)
{
{
int
i1
=
blockIdx
.
x
;
int
i1
=
blockIdx
.
x
;
int
i2
=
blockIdx
.
y
;
int
i2
=
blockIdx
.
y
;
...
@@ -39,7 +40,8 @@ void contiguous_nonstandard(hipStream_t stream, const argument& result, const ar
...
@@ -39,7 +40,8 @@ void contiguous_nonstandard(hipStream_t stream, const argument& result, const ar
// auto in_stride = in_s.strides();
// auto in_stride = in_s.strides();
// auto out_stride = s.strides();
// auto out_stride = s.strides();
// cont_kernel<<<grid, block, 0, stream>>>(arg.data(), result.data(), out_stride[0], out_stride[1], out_stride[2], in_stride[0], in_stride[1], in_stride[2]);
// cont_kernel<<<grid, block, 0, stream>>>(arg.data(), result.data(), out_stride[0],
// out_stride[1], out_stride[2], in_stride[0], in_stride[1], in_stride[2]);
// }
// }
// else
// else
// {
// {
...
...
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