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
wangsen
rocm_bandwidth_test
Commits
2c6c202b
Unverified
Commit
2c6c202b
authored
Aug 22, 2020
by
Ramesh Errabolu
Committed by
GitHub
Aug 22, 2020
Browse files
Update CMakeLists.txt
parent
55d36484
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
CMakeLists.txt
+5
-5
No files found.
CMakeLists.txt
View file @
2c6c202b
...
@@ -120,15 +120,15 @@ if(NOT DEFINED CMAKE_MODULE_PATH)
...
@@ -120,15 +120,15 @@ if(NOT DEFINED CMAKE_MODULE_PATH)
endif
()
endif
()
include
(
utils
)
include
(
utils
)
#
m
aking find_package(has-runtime64 Optional as it can fail when building old hsa
#
M
aking find_package(has-runtime64 Optional as it can fail when building old hsa
#When find_package fails, then using old method of find_libraries for
#
When find_package fails, then using old method of find_libraries for
#searching the required libs for building RBT
#
searching the required libs for building RBT
find_package
(
hsa-runtime64
find_package
(
hsa-runtime64
PATHS /opt/rocm
)
PATHS /opt/rocm
)
if
(
${
hsa-runtime64_FOUND
}
)
if
(
${
hsa-runtime64_FOUND
}
)
message
(
"
hsa-runtime64 found @
${
hsa-runtime64_DIR
}
"
)
message
(
"
hsa-runtime64 found @
${
hsa-runtime64_DIR
}
"
)
else
()
else
()
message
(
"
hsa-runtime64 NOT found Resolving to OLD Way"
)
message
(
"hsa-runtime64 NOT found Resolving to OLD Way"
)
find_path
(
ROCR_HDR hsa.h PATHS
"/opt/rocm"
PATH_SUFFIXES include/hsa REQUIRED
)
find_path
(
ROCR_HDR hsa.h PATHS
"/opt/rocm"
PATH_SUFFIXES include/hsa REQUIRED
)
INCLUDE_DIRECTORIES
(
${
ROCR_HDR
}
)
INCLUDE_DIRECTORIES
(
${
ROCR_HDR
}
)
# Search for ROCr library file
# Search for ROCr library 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