Skip to content

Commit 6feee51

Browse files
ronliebestewart08
andauthored
[gpurun] add to llvm-project , -nr and -nm to use numactl (#655)
SWDEV-565887 [ROCm QA][XNACK=1] Huge difference in HPC2021 scores with XNACK=1 --------- Co-authored-by: Ethan Stewart <[email protected]>
1 parent 79d1687 commit 6feee51

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)