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
composable_kernel
Commits
88d5d8d0
"src/include/blockwise_batched_gemm.hpp" did not exist on "f35c64eb78af4754e78f8746c8e28d2ac8b68e80"
Commit
88d5d8d0
authored
Sep 26, 2022
by
Astha Rai
Browse files
fixed compiler issues
parent
085d9d11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
include/ck/tensor_operation/gpu/grid/gridwise_elementwise_2d.hpp
.../ck/tensor_operation/gpu/grid/gridwise_elementwise_2d.hpp
+3
-4
No files found.
include/ck/tensor_operation/gpu/grid/gridwise_elementwise_2d.hpp
View file @
88d5d8d0
...
...
@@ -110,7 +110,7 @@ struct GridwiseElementwise_2D
const
index_t
loop_step_n
=
blockPerGrid_n
*
blockSize
*
NPerThread
;
const
auto
loop_step_index
=
make_multi_index
(
loop_step_m
,
loop_step_n
);
const
index_t
thread_global_id_2d
=
const
auto
index_t
thread_global_id_2d
=
thread_buffer_desc_mn
.
CalculateBottomIndex
(
make_multi_index
(
get_block_1d_id
));
const
auto
blockId_m
=
thread_global_id_2d
[
I0
];
const
auto
blockId_n
=
thread_global_id_2d
[
I1
];
...
...
@@ -185,7 +185,7 @@ struct GridwiseElementwise_2D
Number
<
NumInput
>
{});
// get referenec to dst data
auto
in
_data_refs
=
generate_tie
(
auto
out
_data_refs
=
generate_tie
(
// return type should be lvalue
[
&
](
auto
I
)
->
auto
&
{
return
out_thread_buf_tuple
(
offset
);
},
Number
<
NumOutput
>
{});
...
...
@@ -203,8 +203,7 @@ struct GridwiseElementwise_2D
out_global_store_tuple
(
I
).
MoveDstSliceWindow
(
out_grid_2d_desc_tuple
[
I
],
loop_step_index
);
});
}
(
while
--
num_iter_n
);
}
while
(
--
num_iter_n
);
}
while
(
--
num_iter_m
);
}
};
...
...
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