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
cd56f648
Commit
cd56f648
authored
Mar 09, 2022
by
Chao Liu
Browse files
update cmake for example and test
parent
eb6947c2
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
20 deletions
+5
-20
test/magic_number_division/CMakeLists.txt
test/magic_number_division/CMakeLists.txt
+2
-7
test/reference_conv_fwd/CMakeLists.txt
test/reference_conv_fwd/CMakeLists.txt
+2
-7
test/space_filling_curve/CMakeLists.txt
test/space_filling_curve/CMakeLists.txt
+1
-6
No files found.
test/magic_number_division/CMakeLists.txt
View file @
cd56f648
set
(
MAGIC_NUMBER_DIVISION_SOURCE
magic_number_division.cpp
)
get_filename_component
(
MAGIC_NUMBER_DIVISION
${
MAGIC_NUMBER_DIVISION_SOURCE
}
NAME_WE
)
add_test_executable
(
test_
${
MAGIC_NUMBER_DIVISION
}
${
MAGIC_NUMBER_DIVISION_SOURCE
}
)
target_link_libraries
(
test_
${
MAGIC_NUMBER_DIVISION
}
PRIVATE host_tensor
)
add_test_executable
(
test_magic_number_division magic_number_division.cpp
)
target_link_libraries
(
test_magic_number_division PRIVATE host_tensor
)
test/reference_conv_fwd/CMakeLists.txt
View file @
cd56f648
set
(
REFERENCE_CONV_FWD_SOURCE
reference_conv_fwd.cpp
)
get_filename_component
(
REFERENCE_CONV_FWD
${
REFERENCE_CONV_FWD_SOURCE
}
NAME_WE
)
add_test_executable
(
test_
${
REFERENCE_CONV_FWD
}
${
REFERENCE_CONV_FWD_SOURCE
}
)
target_link_libraries
(
test_
${
REFERENCE_CONV_FWD
}
PRIVATE host_tensor
)
add_test_executable
(
test_reference_conv_fwd reference_conv_fwd.cpp
)
target_link_libraries
(
test_reference_conv_fwd PRIVATE host_tensor
)
test/space_filling_curve/CMakeLists.txt
View file @
cd56f648
set
(
SPACE_FILLING_CURVE_SOURCE
space_filling_curve.cpp
)
get_filename_component
(
SPACE_FILLING_CURVE
${
SPACE_FILLING_CURVE_SOURCE
}
NAME_WE
)
add_test_executable
(
test_
${
SPACE_FILLING_CURVE
}
${
SPACE_FILLING_CURVE_SOURCE
}
)
add_test_executable
(
test_space_filling_curve space_filling_curve.cpp
)
Prev
1
2
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