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
1566b317
Commit
1566b317
authored
Jun 13, 2019
by
Chao Liu
Browse files
reorginzed files
parent
c82b833d
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
37 deletions
+0
-37
driver/src/driver.cu
driver/src/driver.cu
+0
-0
driver/src/tensor.cpp
driver/src/tensor.cpp
+0
-0
include/composable_kernel/utility/common.hpp
include/composable_kernel/utility/common.hpp
+0
-17
src/CMakeLists.txt
src/CMakeLists.txt
+0
-20
No files found.
driver/driver.cu
→
driver/
src/
driver.cu
View file @
1566b317
File moved
src/tensor.cpp
→
driver/
src/tensor.cpp
View file @
1566b317
File moved
include/composable_kernel/utility/common.hpp
deleted
100644 → 0
View file @
c82b833d
#ifndef CK_COMMON_HPP
#define CK_COMMON_HPP
#include "composable_kernel/utility/utility.hpp"
#include "composable_kernel/utility/vector_type.hpp"
#include "composable_kernel/utility/integral_constant.hpp"
#include "composable_kernel/utility/Sequence.hpp"
#include "composable_kernel/utility/Array.hpp"
#include "composable_kernel/utility/functional.hpp"
#include "composable_kernel/utility/functional2.hpp"
#include "composable_kernel/utility/functional3.hpp"
#if CK_USE_AMD_INLINE_ASM
#include "composable_kernel/utility/amd_inline_asm.hpp"
#endif
#endif
src/CMakeLists.txt
deleted
100644 → 0
View file @
c82b833d
if
(
DEVICE_BACKEND STREQUAL
"AMD"
)
configure_file
(
"
${
PROJECT_SOURCE_DIR
}
/include/composable_kernel/utility/config_amd.hpp.in"
"
${
PROJECT_BINARY_DIR
}
/include/composable_kernel/utility/config.hpp"
)
elseif
(
DEVICE_BACKEND STREQUAL
"NVIDIA"
)
configure_file
(
"
${
PROJECT_SOURCE_DIR
}
/include/composable_kernel/utility/config_nvidia.hpp.in"
"
${
PROJECT_BINARY_DIR
}
/include/composable_kernel/utility/config.hpp"
)
endif
()
set
(
TENSOR_SOURCE
tensor.cpp;
device.cpp;
)
add_library
(
tensor SHARED
${
TENSOR_SOURCE
}
)
target_compile_features
(
tensor PUBLIC
)
set_target_properties
(
tensor PROPERTIES POSITION_INDEPENDENT_CODE ON
)
if
(
DEVICE_BACKEND STREQUAL
"NVIDIA"
)
target_link_libraries
(
tensor nvToolsExt cudart
)
endif
()
install
(
TARGETS tensor LIBRARY DESTINATION lib
)
Prev
1
2
3
4
Next
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