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
1a00460e
"...composable_kernel_rocm.git" did not exist on "0d9118226b167b8cc49360560850d4cf79936c8c"
Commit
1a00460e
authored
Jan 07, 2025
by
Po Yen, Chen
Browse files
Add example dir placeholder for paged-attention
parent
c9597d1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
example/ck_tile/18_paged_attention/CMakeLists.txt
example/ck_tile/18_paged_attention/CMakeLists.txt
+9
-0
example/ck_tile/18_paged_attention/paged_attention.cpp
example/ck_tile/18_paged_attention/paged_attention.cpp
+3
-0
No files found.
example/ck_tile/18_paged_attention/CMakeLists.txt
0 → 100644
View file @
1a00460e
# set example name according to its directory name (without the leading digits followed by an underscore)
get_filename_component
(
DIR_NAME
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
NAME
)
string
(
REGEX REPLACE
"^[0-9]+_"
""
TRIMMED_DIR_NAME
"
${
DIR_NAME
}
"
)
# add prefix "tile_example_" to the processed directory name
set
(
EXAMPLE_NAME
"tile_example_
${
TRIMMED_DIR_NAME
}
"
)
message
(
"[POYENC] example name:
${
EXAMPLE_NAME
}
"
)
add_executable
(
${
EXAMPLE_NAME
}
EXCLUDE_FROM_ALL paged_attention.cpp
)
\ No newline at end of file
example/ck_tile/18_paged_attention/paged_attention.cpp
0 → 100644
View file @
1a00460e
#include <iostream>
int
main
()
{
std
::
cout
<<
"hello ck-tile example"
<<
std
::
endl
;
}
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