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
d5ee4350
"vscode:/vscode.git/clone" did not exist on "f57c0702f7ff7f190013e6636f8f0ad0a8141985"
Commit
d5ee4350
authored
Oct 24, 2023
by
Artur Wojcik
Browse files
fix compilation on Windows
parent
546a764e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
library/CMakeLists.txt
library/CMakeLists.txt
+1
-0
library/src/jit_library/CMakeLists.txt
library/src/jit_library/CMakeLists.txt
+6
-3
No files found.
library/CMakeLists.txt
View file @
d5ee4350
# SPDX-License-Identifier: MIT
# Copyright (c) 2018-2022, Advanced Micro Devices, Inc. All rights reserved.
if
(
CK_BUILD_JIT_LIB
)
add_subdirectory
(
src/jit_library
)
else
()
...
...
library/src/jit_library/CMakeLists.txt
View file @
d5ee4350
# SPDX-License-Identifier: MIT
# Copyright (c) 2018-2022, Advanced Micro Devices, Inc. All rights reserved.
include
(
Embed
)
file
(
GLOB_RECURSE KERNEL_FILES CONFIGURE_DEPENDS
${
PROJECT_SOURCE_DIR
}
/include/ck/*.hpp
)
...
...
@@ -5,8 +8,10 @@ message(STATUS "KERNEL_FILES: ${KERNEL_FILES}")
message
(
STATUS
"RELATIVE:
${
PROJECT_SOURCE_DIR
}
/include"
)
add_embed_library
(
ck_headers
${
KERNEL_FILES
}
RELATIVE
${
PROJECT_SOURCE_DIR
}
/include
)
find_package
(
Python 3.8 REQUIRED COMPONENTS Interpreter
)
execute_process
(
COMMAND
p
ython
3
${
CMAKE_CURRENT_SOURCE_DIR
}
/util/make_instance_strings.py
COMMAND
${
P
ython
_EXECUTABLE
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/util/make_instance_strings.py
${
PROJECT_SOURCE_DIR
}
/library/src/tensor_operation_instance/gpu
${
CMAKE_CURRENT_BINARY_DIR
}
/solution_instances
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/../tensor_operation_instance/gpu/
...
...
@@ -44,5 +49,3 @@ rocm_install(
NAMESPACE composable_kernel::
DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/cmake/composable_kernel
)
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