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
1a685834
Commit
1a685834
authored
Apr 11, 2022
by
illsilin
Browse files
test the unused arguments fix
parent
e456283f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
include/ck/config.hpp
include/ck/config.hpp
+3
-0
include/ck/tensor_operation/gpu/device/device_batched_gemm_reduce_xdl_cshuffle.hpp
...on/gpu/device/device_batched_gemm_reduce_xdl_cshuffle.hpp
+18
-0
include/ck/tensor_operation/gpu/grid/gridwise_gemm_xdlops_v3r3.hpp
...k/tensor_operation/gpu/grid/gridwise_gemm_xdlops_v3r3.hpp
+15
-0
No files found.
include/ck/config.hpp
View file @
1a685834
...
...
@@ -135,6 +135,9 @@
// https://github.com/ROCmSoftwarePlatform/composable_kernel/issues/135
#define CK_WORKAROUND_GITHUB_135 1
//workaround for building xdl kernels on all architectures
#define UNUSED(x) (void)(x)
namespace
ck
{
enum
struct
InMemoryDataOperationEnum
...
...
include/ck/tensor_operation/gpu/device/device_batched_gemm_reduce_xdl_cshuffle.hpp
View file @
1a685834
...
...
@@ -89,6 +89,24 @@ __global__ void
c_grid_desc_mblock_mperblock_nblock_nperblock
,
d_grid_desc_mblock_mperblock
,
block_2_ctile_map
);
#else
UNUSED
(
p_a_grid
);
UNUSED
(
p_b_grid
);
UNUSED
(
p_c_grid
);
UNUSED
(
p_d0_grid
);
UNUSED
(
p_d1_grid
);
UNUSED
(
batch_count
);
UNUSED
(
a_element_op
);
UNUSED
(
b_element_op
);
UNUSED
(
c_element_op
);
UNUSED
(
d0_reduce_op
);
UNUSED
(
d1_reduce_op
);
UNUSED
(
a_grid_desc_ak0_m_ak1
);
UNUSED
(
b_grid_desc_bk0_n_bk1
);
UNUSED
(
c_grid_desc_mblock_mperblock_nblock_nperblock
);
UNUSED
(
d_grid_desc_mblock_mperblock
);
UNUSED
(
compute_base_ptr_of_batch_
);
UNUSED
(
block_2_ctile_map
);
#endif //end of if defined (defined(__gfx908__) || defined(__gfx90a__))
}
...
...
include/ck/tensor_operation/gpu/grid/gridwise_gemm_xdlops_v3r3.hpp
View file @
1a685834
...
...
@@ -68,6 +68,21 @@ __global__ void
b_element_op
,
c_element_op
,
block_2_ctile_map
);
#else
UNUSED
(
p_a_grid
);
UNUSED
(
p_b_grid
);
UNUSED
(
p_c_grid
);
UNUSED
(
p_c0_grid
);
UNUSED
(
p_c1_grid
);
UNUSED
(
a_grid_desc_k0_m_k1
);
UNUSED
(
b_grid_desc_k0_n_k1
);
UNUSED
(
c_grid_desc_mblock_mxdlperwave_mwavemperxdl_nblock_nxdlperwave_nwavenperxdl
);
UNUSED
(
c0_grid_desc_mblock_mxdlperwave_mwavemperxdl_nblock_nxdlperwave_nwavenperxdl
);
UNUSED
(
c1_grid_desc_mblock_mxdlperwave_mwavemperxdl_nblock_nxdlperwave_nwavenperxdl
);
UNUSED
(
a_element_op
);
UNUSED
(
b_element_op
);
UNUSED
(
c_element_op
);
UNUSED
(
block_2_ctile_map
);
#endif //end of if (defined(__gfx908__) || defined(__gfx90a__))
}
...
...
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