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_ROCM
Commits
c160c6cf
Unverified
Commit
c160c6cf
authored
Jul 09, 2024
by
Jun Liu
Committed by
GitHub
Jul 09, 2024
Browse files
Merge pull request #91 from ROCm/merge_from_public
Merge from public
parents
933bcaf1
7712a4fa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
.github/CODEOWNERS
.github/CODEOWNERS
+6
-6
example/CMakeLists.txt
example/CMakeLists.txt
+2
-2
library/src/tensor_operation_instance/gpu/CMakeLists.txt
library/src/tensor_operation_instance/gpu/CMakeLists.txt
+4
-4
test/CMakeLists.txt
test/CMakeLists.txt
+2
-2
No files found.
.github/CODEOWNERS
View file @
c160c6cf
*
@zjing14
@junliume @illsilin @carlushuang @aosewski @
yigex
* @junliume @illsilin @carlushuang @aosewski @
poyenc
# Documentation files
docs/* @ROCm/rocm-documentation
@zjing14
@junliume @illsilin @carlushuang @aosewski @
yigex
*.md @ROCm/rocm-documentation
@zjing14
@junliume @illsilin @carlushuang @aosewski @
yigex
*.rst @ROCm/rocm-documentation
@zjing14
@junliume @illsilin @carlushuang @aosewski @
yigex
.readthedocs.yaml @ROCm/rocm-documentation
@zjing14
@junliume @illsilin @carlushuang @aosewski @
yigex
docs/* @ROCm/rocm-documentation @junliume @illsilin @carlushuang @aosewski @
poyenc
*.md @ROCm/rocm-documentation @junliume @illsilin @carlushuang @aosewski @
poyenc
*.rst @ROCm/rocm-documentation @junliume @illsilin @carlushuang @aosewski @
poyenc
.readthedocs.yaml @ROCm/rocm-documentation @junliume @illsilin @carlushuang @aosewski @
poyenc
# Header directory for Doxygen documentation
library/include/* @ROCm/rocm-documentation
@zjing14
@junliume @illsilin @carlushuang @aosewski @
yigex
library/include/* @ROCm/rocm-documentation @junliume @illsilin @carlushuang @aosewski @
poyenc
example/CMakeLists.txt
View file @
c160c6cf
...
...
@@ -67,7 +67,7 @@ function(add_example_executable EXAMPLE_NAME FILE_NAME)
endforeach
()
#Do not build any WMMA examples if gfx11 targets are not on the list
foreach
(
source IN LISTS FILE_NAME
)
if
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
AND NOT
GPU
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"_wmma"
)
if
(
NOT
EX
_TARGETS MATCHES
"gfx11"
AND NOT
EX
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"_wmma"
)
message
(
"removing wmma example
${
source
}
"
)
list
(
REMOVE_ITEM FILE_NAME
"
${
source
}
"
)
endif
()
...
...
@@ -154,7 +154,7 @@ function(add_example_executable_no_testing EXAMPLE_NAME FILE_NAME)
endforeach
()
#Do not build any WMMA examples if gfx11 targets are not on the list
foreach
(
source IN LISTS FILE_NAME
)
if
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
AND NOT
GPU
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"_wmma"
)
if
(
NOT
EX
_TARGETS MATCHES
"gfx11"
AND NOT
EX
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"_wmma"
)
message
(
"removing wmma example
${
source
}
"
)
list
(
REMOVE_ITEM FILE_NAME
"
${
source
}
"
)
endif
()
...
...
library/src/tensor_operation_instance/gpu/CMakeLists.txt
View file @
c160c6cf
...
...
@@ -59,7 +59,7 @@ function(add_instance_library INSTANCE_NAME)
endforeach
()
# Do not build WMMA instances if gfx11 targets are not on the target list
foreach
(
source IN LISTS ARGN
)
if
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
AND NOT
GPU
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"_wmma"
)
if
(
NOT
INST
_TARGETS MATCHES
"gfx11"
AND NOT
INST
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"_wmma"
)
message
(
"removing wmma instance
${
source
}
"
)
list
(
REMOVE_ITEM ARGN
"
${
source
}
"
)
endif
()
...
...
@@ -177,7 +177,7 @@ FOREACH(subdir_path ${dir_list})
message
(
"Found only xdl instances, but gfx9 is not on the targets list. Skipping."
)
set
(
add_inst 0
)
endif
()
if
((
"
${
cmake_instance
}
"
MATCHES
"ONLY WMMA_KERNELS"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx12"
))
if
((
"
${
cmake_instance
}
"
MATCHES
"ONLY WMMA_KERNELS"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx11"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx12"
))
message
(
"Found only wmma instances, but gfx11 is not on the targets list. Skipping."
)
set
(
add_inst 0
)
endif
()
...
...
@@ -185,11 +185,11 @@ FOREACH(subdir_path ${dir_list})
message
(
"Found only xdl and dl instances, but gfx9 is not on the targets listand DL_KERNELS is not set. Skipping."
)
set
(
add_inst 0
)
endif
()
if
((
"
${
cmake_instance
}
"
MATCHES
"ONLY XDL_AND_WMMA_KERNELS"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx12"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx9"
))
if
((
"
${
cmake_instance
}
"
MATCHES
"ONLY XDL_AND_WMMA_KERNELS"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx11"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx12"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx9"
))
message
(
"Found only xdl and wmma instances, but gfx11 and gfx9 are not on the targets list. Skipping."
)
set
(
add_inst 0
)
endif
()
if
((
"
${
cmake_instance
}
"
MATCHES
"XDL_DL_WMMA_KERNELS"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx12"
)
AND
(
NOT
GPU
_TARGETS MATCHES
"gfx9"
)
AND
(
NOT DEFINED DL_KERNELS
))
if
((
"
${
cmake_instance
}
"
MATCHES
"XDL_DL_WMMA_KERNELS"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx11"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx12"
)
AND
(
NOT
INST
_TARGETS MATCHES
"gfx9"
)
AND
(
NOT DEFINED DL_KERNELS
))
message
(
"Found xdl, dl, and wmma instances, but none of those meet the target list. Skipping."
)
set
(
add_inst 0
)
endif
()
...
...
test/CMakeLists.txt
View file @
c160c6cf
...
...
@@ -60,7 +60,7 @@ function(add_test_executable TEST_NAME)
endif
()
endforeach
()
foreach
(
source IN LISTS ARGN
)
if
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
AND NOT
GPU
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"wmma"
)
if
(
NOT
TEST
_TARGETS MATCHES
"gfx11"
AND NOT
TEST
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"wmma"
)
message
(
"removing wmma test
${
source
}
"
)
list
(
REMOVE_ITEM ARGN
"
${
source
}
"
)
endif
()
...
...
@@ -141,7 +141,7 @@ function(add_gtest_executable TEST_NAME)
endif
()
endforeach
()
foreach
(
source IN LISTS ARGN
)
if
(
NOT
GPU
_TARGETS MATCHES
"gfx11"
AND NOT
GPU
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"wmma"
)
if
(
NOT
TEST
_TARGETS MATCHES
"gfx11"
AND NOT
TEST
_TARGETS MATCHES
"gfx12"
AND source MATCHES
"wmma"
)
message
(
"removing wmma test
${
source
}
"
)
list
(
REMOVE_ITEM ARGN
"
${
source
}
"
)
endif
()
...
...
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