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
3a61e5aa
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "96ff131ba3d158b391bad5590f72ef1744211e40"
Commit
3a61e5aa
authored
Sep 20, 2023
by
Tijana Vukovic
Browse files
Added MIOpen.dll copy to build/bin directory for Windows
parent
12a7ecaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+19
-19
No files found.
src/targets/gpu/CMakeLists.txt
View file @
3a61e5aa
# ####################################################################################
# ####################################################################################
#
The MIT License (MIT)
#The MIT License (MIT)
#
#
#
Copyright (c) 2015-2022 Advanced Micro Devices, Inc. All rights reserved.
#Copyright (c) 2015-2022 Advanced Micro Devices, Inc. All rights reserved.
#
#
#
Permission is hereby granted, free of charge, to any person obtaining a copy
#Permission is hereby granted, free of charge, to any person obtaining a copy
#
of this software and associated documentation files (the "Software"), to deal
#of this software and associated documentation files (the "Software"), to deal
#
in the Software without restriction, including without limitation the rights
#in the Software without restriction, including without limitation the rights
#
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#
copies of the Software, and to permit persons to whom the Software is
#copies of the Software, and to permit persons to whom the Software is
#
furnished to do so, subject to the following conditions:
#furnished to do so, subject to the following conditions:
#
#
#
The above copyright notice and this permission notice shall be included in
#The above copyright notice and this permission notice shall be included in
#
all copies or substantial portions of the Software.
#all copies or substantial portions of the Software.
#
#
#
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#
THE SOFTWARE.
#THE SOFTWARE.
# ####################################################################################
# ####################################################################################
list
(
APPEND CMAKE_PREFIX_PATH /opt/rocm
)
list
(
APPEND CMAKE_PREFIX_PATH /opt/rocm
)
find_package
(
miopen
)
find_package
(
miopen
)
#
rocblas
#rocblas
find_package
(
rocblas REQUIRED PATHS /opt/rocm
)
find_package
(
rocblas REQUIRED PATHS /opt/rocm
)
message
(
STATUS
"Build with rocblas"
)
message
(
STATUS
"Build with rocblas"
)
...
@@ -34,7 +34,7 @@ if(NOT TARGET MIOpen)
...
@@ -34,7 +34,7 @@ if(NOT TARGET MIOpen)
endif
()
endif
()
if
(
NOT WIN32
)
if
(
NOT WIN32
)
#
TODO: re
-
enable when CK is ported to Windows
#
TODO
: re
-
enable when CK is ported to Windows
find_package
(
composable_kernel 1.0.0 REQUIRED COMPONENTS jit_library
)
find_package
(
composable_kernel 1.0.0 REQUIRED COMPONENTS jit_library
)
endif
()
endif
()
...
...
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