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
4bf3b87e
"src/include/threadwise_direct_convolution.hpp" did not exist on "43cd8529c240161ffbad165603d47c5d008559fc"
Commit
4bf3b87e
authored
Dec 09, 2022
by
Po-Yen, Chen
Browse files
Use macro to toggle pipeline v2 optimization
parent
2a6d05f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
include/ck/tensor_operation/gpu/grid/gridwise_gemm_pipeline_v2.hpp
...k/tensor_operation/gpu/grid/gridwise_gemm_pipeline_v2.hpp
+1
-1
test/gemm/CMakeLists.txt
test/gemm/CMakeLists.txt
+3
-1
No files found.
include/ck/tensor_operation/gpu/grid/gridwise_gemm_pipeline_v2.hpp
View file @
4bf3b87e
...
...
@@ -100,7 +100,7 @@ struct GridwiseGemmPipeline_v2
// global read i + 2
b_blockwise_copy
.
RunRead
(
b_grid_desc
,
b_grid_buf
);
#if
1
#if
defined(ENABLE_PIPELINE_V2_OPT)
__builtin_amdgcn_sched_group_barrier
(
0x020
,
2
,
0
);
// VMEM read
__builtin_amdgcn_sched_group_barrier
(
0x008
,
1
,
0
);
// MFMA
...
...
test/gemm/CMakeLists.txt
View file @
4bf3b87e
...
...
@@ -20,7 +20,9 @@ add_library(gemm_standalone_xdl_fp16_instances STATIC
# instance/gemm_f16_tn_instance.cpp
# instance/gemm_f16_tt_instance.cpp
)
set_source_files_properties
(
instance/gemm_f16_nn_instance.cpp PROPERTIES COMPILE_FLAGS
"-save-temps -Wno-gnu-line-marker -amdgpu-enable-max-ilp-scheduling-strategy"
)
set_source_files_properties
(
instance/gemm_f16_nn_instance.cpp PROPERTIES
COMPILE_FLAGS
"-save-temps -Wno-gnu-line-marker -amdgpu-enable-max-ilp-scheduling-strategy"
COMPILE_DEFINITIONS ENABLE_PIPELINE_V2_OPT
)
add_test_executable
(
test_gemm_standalone_xdl_fp16 gemm_standalone_xdl_fp16.cpp
)
target_link_libraries
(
test_gemm_standalone_xdl_fp16 PRIVATE gemm_standalone_xdl_fp16_instances utility
)
...
...
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