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
81812dbc
Commit
81812dbc
authored
Aug 09, 2024
by
Astha Rai
Browse files
removed commented code from CMake
parent
c136e9b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
codegen/CMakeLists.txt
codegen/CMakeLists.txt
+1
-12
No files found.
codegen/CMakeLists.txt
View file @
81812dbc
#cmake_minimum_required(VERSION 3.16)
#project(composable_kernel_host LANGUAGES CXX HIP)
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
set
(
CMAKE_LIBRARY_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/lib
)
set
(
CMAKE_LIBRARY_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/lib
)
...
@@ -8,18 +5,9 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
...
@@ -8,18 +5,9 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/bin
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/bin
)
set
(
CK_ROOT
${
CMAKE_CURRENT_SOURCE_DIR
}
/..
)
set
(
CK_ROOT
${
CMAKE_CURRENT_SOURCE_DIR
}
/..
)
#find_package(ROCM)
#include(ROCMInstallTargets)
#include(ROCMTest)
add_compile_options
(
-std=c++17
)
add_compile_options
(
-std=c++17
)
find_package
(
hip
)
find_package
(
hip
)
add_custom_target
(
codegen
)
add_custom_target
(
codegen
)
## HIP
#set(CMAKE_HIP_PLATFORM amd)
#set(CMAKE_HIP_COMPILER ${CMAKE_CXX_COMPILER})
#set(CMAKE_HIP_EXTENSIONS ON)
#message("CMAKE_HIP_COMPILER: ${CMAKE_HIP_COMPILER}")
# add include directories
# add include directories
include_directories
(
BEFORE
include_directories
(
BEFORE
...
@@ -33,6 +21,7 @@ list(APPEND CMAKE_MODULE_PATH ${CK_ROOT}/cmake)
...
@@ -33,6 +21,7 @@ list(APPEND CMAKE_MODULE_PATH ${CK_ROOT}/cmake)
include
(
Embed
)
include
(
Embed
)
file
(
GLOB_RECURSE KERNEL_FILES CONFIGURE_DEPENDS
file
(
GLOB_RECURSE KERNEL_FILES CONFIGURE_DEPENDS
${
CK_ROOT
}
/include/ck/*.hpp
)
${
CK_ROOT
}
/include/ck/*.hpp
)
#printouts fot debug purposes
#message(STATUS "KERNEL_FILES: ${KERNEL_FILES}")
#message(STATUS "KERNEL_FILES: ${KERNEL_FILES}")
#message(STATUS "RELATIVE: ${CK_ROOT}/include")
#message(STATUS "RELATIVE: ${CK_ROOT}/include")
add_embed_library
(
ck_headers
${
KERNEL_FILES
}
RELATIVE
${
CK_ROOT
}
/include
)
add_embed_library
(
ck_headers
${
KERNEL_FILES
}
RELATIVE
${
CK_ROOT
}
/include
)
...
...
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