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
c0ddcfc3
"src/eliminate_common_subexpression.cpp" did not exist on "0b217041e03162c32c41873cc024401d3ef1caba"
Commit
c0ddcfc3
authored
Sep 21, 2023
by
Tijana Vukovic
Browse files
Reverted clang-tidy changes
parent
3a61e5aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+20
-20
No files found.
src/targets/gpu/CMakeLists.txt
View file @
c0ddcfc3
# ####################################################################################
# ####################################################################################
#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
()
...
@@ -288,4 +288,4 @@ if(WIN32)
...
@@ -288,4 +288,4 @@ if(WIN32)
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
MIOPEN_LOCATION
}
"
$<TARGET_FILE_DIR:migraphx_gpu>
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
MIOPEN_LOCATION
}
"
$<TARGET_FILE_DIR:migraphx_gpu>
COMMAND_EXPAND_LISTS
COMMAND_EXPAND_LISTS
)
)
endif
()
endif
()
\ No newline at end of file
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