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
fed10151
Commit
fed10151
authored
Jan 10, 2025
by
Po Yen, Chen
Browse files
Seperate source files by their roles
parent
b41fc37b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
1 deletion
+5
-1
example/ck_tile/18_paged_attention/CMakeLists.txt
example/ck_tile/18_paged_attention/CMakeLists.txt
+1
-1
example/ck_tile/18_paged_attention/include/kernel/paged_attention_kernel.hpp
...paged_attention/include/kernel/paged_attention_kernel.hpp
+0
-0
example/ck_tile/18_paged_attention/include/paged_attention.hpp
...le/ck_tile/18_paged_attention/include/paged_attention.hpp
+1
-0
example/ck_tile/18_paged_attention/itfs/paged_attention.cpp
example/ck_tile/18_paged_attention/itfs/paged_attention.cpp
+1
-0
example/ck_tile/18_paged_attention/main.cpp
example/ck_tile/18_paged_attention/main.cpp
+2
-0
example/ck_tile/18_paged_attention/py_itfs/paged_attention.cu
...ple/ck_tile/18_paged_attention/py_itfs/paged_attention.cu
+0
-0
No files found.
example/ck_tile/18_paged_attention/CMakeLists.txt
View file @
fed10151
...
...
@@ -5,7 +5,7 @@ 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
}
"
)
add_executable
(
${
EXAMPLE_NAME
}
EXCLUDE_FROM_ALL paged_attention
.cpp attention_launcher
.cpp
)
add_executable
(
${
EXAMPLE_NAME
}
EXCLUDE_FROM_ALL
main.cpp itfs/
paged_attention.cpp
)
target_include_directories
(
${
EXAMPLE_NAME
}
AFTER PRIVATE
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
)
target_compile_definitions
(
${
EXAMPLE_NAME
}
PRIVATE USE_ROCM
)
target_compile_options
(
${
EXAMPLE_NAME
}
PRIVATE
...
...
example/ck_tile/18_paged_attention/include/kernel/attention_kernel.hpp
→
example/ck_tile/18_paged_attention/include/kernel/
paged_
attention_kernel.hpp
View file @
fed10151
File moved
example/ck_tile/18_paged_attention/include/paged_attention.hpp
0 → 100644
View file @
fed10151
#include "kernel/paged_attention_kernel.hpp"
example/ck_tile/18_paged_attention/itfs/paged_attention.cpp
0 → 100644
View file @
fed10151
#include "kernel/paged_attention_kernel.hpp"
example/ck_tile/18_paged_attention/
paged_attentio
n.cpp
→
example/ck_tile/18_paged_attention/
mai
n.cpp
View file @
fed10151
#include <iostream>
#include "paged_attention.hpp"
int
main
()
{
std
::
cout
<<
"hello ck-tile example"
<<
std
::
endl
;
}
example/ck_tile/18_paged_attention/
attention_launcher.cpp
→
example/ck_tile/18_paged_attention/
py_itfs/paged_attention.cu
View file @
fed10151
File moved
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