Skip to content

Commit 6602f32

Browse files
ronliebestewart08
andauthored
[release/7.10] gpurun workaround for 7.2 PCI issues. (#680)
Co-authored-by: Ethan Stewart <ethan.stewart@amd.com>
1 parent fbb4cb1 commit 6602f32

File tree

4 files changed

+710
-0
lines changed

4 files changed

+710
-0
lines changed

offload/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,3 +475,5 @@ if(OFFLOAD_INCLUDE_TESTS)
475475
add_subdirectory(test)
476476
add_subdirectory(unittests)
477477
endif()
478+
479+
add_subdirectory(utils)

offload/utils/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
set(OPENMP_UTILS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH
2+
"Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR}')")
3+
4+
macro(add_openmp_util path)
5+
install(PROGRAMS
6+
${path}
7+
DESTINATION "${OPENMP_UTILS_INSTALL_DIR}")
8+
endmacro()
9+
10+
add_subdirectory(gpurun)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add_openmp_util(${CMAKE_CURRENT_SOURCE_DIR}/gpurun)

0 commit comments

Comments
 (0)