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
13542e66
"...resnet50_tensorflow.git" did not exist on "e42ee600aa7b2988a9f7463918bc737a42f2f6fb"
Commit
13542e66
authored
Nov 30, 2023
by
Chao Liu
Browse files
update cmake
parent
0bdbd358
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+0
-2
profiler/src/CMakeLists.txt
profiler/src/CMakeLists.txt
+2
-0
No files found.
CMakeLists.txt
View file @
13542e66
...
...
@@ -375,8 +375,6 @@ SET(BUILD_DEV ON CACHE BOOL "BUILD_DEV")
if
(
BUILD_DEV
)
add_compile_options
(
-Werror -Weverything
)
endif
()
#add flags to reduce the size of binaries
#add_compile_options(-Oz -flto=thin)
message
(
"CMAKE_CXX_FLAGS:
${
CMAKE_CXX_FLAGS
}
"
)
add_custom_target
(
check COMMAND
${
CMAKE_CTEST_COMMAND
}
--output-on-failure -C
${
CMAKE_CFG_INTDIR
}
)
...
...
profiler/src/CMakeLists.txt
View file @
13542e66
...
...
@@ -55,6 +55,8 @@ set(PROFILER_EXECUTABLE ckProfiler)
add_executable
(
${
PROFILER_EXECUTABLE
}
${
PROFILER_SOURCES
}
)
target_compile_options
(
${
PROFILER_EXECUTABLE
}
PRIVATE -Wno-global-constructors
)
#add flags to reduce the size of binary
target_compile_options
(
${
PROFILER_EXECUTABLE
}
PRIVATE -Oz -flto=thin
)
target_link_libraries
(
${
PROFILER_EXECUTABLE
}
PRIVATE utility
)
target_link_libraries
(
${
PROFILER_EXECUTABLE
}
PRIVATE device_gemm_instance
)
...
...
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