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
MIGraphX
Commits
92667597
Commit
92667597
authored
Jun 19, 2023
by
Artur Wojcik
Browse files
gpu-driver
parent
fe917cb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+2
-0
src/targets/gpu/driver/CMakeLists.txt
src/targets/gpu/driver/CMakeLists.txt
+14
-7
No files found.
src/targets/gpu/CMakeLists.txt
View file @
92667597
...
...
@@ -155,6 +155,8 @@ add_library(migraphx_gpu
set_target_properties
(
migraphx_gpu PROPERTIES EXPORT_NAME gpu
)
migraphx_generate_export_header
(
migraphx_gpu
)
target_link_options
(
migraphx_gpu PUBLIC -Wno-option-ignored
)
function
(
register_migraphx_gpu_ops PREFIX
)
foreach
(
OP
${
ARGN
}
)
register_op
(
migraphx_gpu HEADER migraphx/gpu/
${
OP
}
.hpp OPERATORS gpu::
${
PREFIX
}${
OP
}
INCLUDES migraphx/gpu/context.hpp
)
...
...
src/targets/gpu/driver/CMakeLists.txt
View file @
92667597
...
...
@@ -22,10 +22,17 @@
# THE SOFTWARE.
#####################################################################################
file
(
GLOB GPU_DRIVER_SRCS CONFIGURE_DEPENDS
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.cpp
)
add_executable
(
gpu-driver
${
GPU_DRIVER_SRCS
}
)
rocm_clang_tidy_check
(
gpu-driver
)
target_include_directories
(
gpu-driver PRIVATE include
)
target_link_libraries
(
gpu-driver PRIVATE migraphx_gpu
)
add_executable
(
migraphx_gpu_driver
action.cpp
compile_op.cpp
main.cpp
parser.cpp
run_op.cpp
)
set_target_properties
(
migraphx_gpu_driver PROPERTIES OUTPUT_NAME migraphx-gpu-driver
)
rocm_clang_tidy_check
(
migraphx_gpu_driver
)
target_include_directories
(
migraphx_gpu_driver PRIVATE include
)
target_link_libraries
(
migraphx_gpu_driver PRIVATE migraphx MIOpen migraphx_gpu hip::device
)
target_compile_options
(
migraphx_gpu_driver PRIVATE -Wno-ignored-attributes -Wno-option-ignored
)
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