Skip to content

Commit 76cea6b

Browse files
committed
Merge branch 'develop' of github.com:ROCm/rocm-libraries into users/psandhu/BasicBlockDependenceDAGs
2 parents 76bebb8 + ea9a066 commit 76cea6b

File tree

40 files changed

+2869
-281
lines changed

40 files changed

+2869
-281
lines changed

.github/scripts/therock_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"-DTHEROCK_ENABLE_MIOPENPROVIDER=ON",
5353
"-DTHEROCK_ENABLE_COMPOSABLE_KERNEL=ON",
5454
],
55-
"projects_to_test": ["miopen", "miopen_plugin"],
55+
"projects_to_test": ["miopen", "miopenprovider"],
5656
},
5757
"fft": {
5858
"cmake_options": ["-DTHEROCK_ENABLE_FFT=ON", "-DTHEROCK_ENABLE_RAND=ON"],

.github/workflows/therock-ci-linux.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,8 @@ jobs:
9595
run: |
9696
python3 TheRock/build_tools/github_actions/build_configure.py
9797
98-
- name: Build therock-dist
99-
run: cmake --build TheRock/build --target therock-dist
100-
101-
- name: Build therock-archives
102-
run: cmake --build TheRock/build --target therock-archives
98+
- name: Build therock-archives and therock-dist
99+
run: cmake --build TheRock/build --target therock-archives therock-dist -- -k 0
103100

104101
- name: Report
105102
if: ${{ !cancelled() }}

.github/workflows/therock-ci-windows.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,8 @@ jobs:
109109
ccache -z
110110
python3 TheRock/build_tools/github_actions/build_configure.py
111111
112-
- name: Build therock-dist
113-
run: cmake --build "${{ env.BUILD_DIR }}" --target therock-dist
114-
115-
- name: Build therock-archives
116-
run: cmake --build "${{ env.BUILD_DIR }}" --target therock-archives
112+
- name: Build therock-archives and therock-dist
113+
run: cmake --build "${{ env.BUILD_DIR }}" --target therock-archives therock-dist -- -k 0
117114

118115
- name: Report
119116
if: ${{ !cancelled() }}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Copyright © Advanced Micro Devices, Inc., or its affiliates.
2+
# SPDX-License-Identifier: MIT
3+
4+
cmake_minimum_required(VERSION 3.25.2)
5+
project(hipdnn-integration-tests LANGUAGES CXX)
6+
7+
set(CMAKE_CXX_STANDARD 20)
8+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
9+
10+
find_package(hip REQUIRED)
11+
find_package(hipdnn_test_sdk REQUIRED)
12+
find_package(hipdnn_plugin_sdk REQUIRED)
13+
find_package(GTest REQUIRED)
14+
find_package(Threads REQUIRED)
15+
find_package(nlohmann_json REQUIRED)
16+
17+
add_executable(hipdnn_integration_tests
18+
src/main.cpp
19+
src/IntegrationGpuBatchnormBackwardActivation.cpp
20+
src/IntegrationGpuConvForward.cpp
21+
)
22+
23+
target_include_directories(hipdnn_integration_tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
24+
25+
target_link_libraries(hipdnn_integration_tests
26+
PRIVATE
27+
hip::host
28+
hipdnn_test_sdk
29+
hipdnn_plugin_sdk
30+
GTest::gtest
31+
Threads::Threads
32+
nlohmann_json::nlohmann_json
33+
)
34+
35+
include(GNUInstallDirs)
36+
install(TARGETS hipdnn_integration_tests
37+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
38+
)
39+
40+
# Generate CTestTestfile for installed tests (used by CI test runners).
41+
# We manually create this file with relative paths - CMake's CTest module
42+
# generates files with absolute paths which don't work for relocated installs.
43+
set(_INSTALLED_CTEST_FILE "${CMAKE_CURRENT_BINARY_DIR}/CTestTestfile.cmake.install")
44+
file(WRITE "${_INSTALLED_CTEST_FILE}"
45+
"# CTestTestfile for installed hipdnn-integration-tests\n"
46+
"# Used by CI test runners to execute tests from the installed location\n\n"
47+
"add_test(hipdnn_integration_tests \"../hipdnn_integration_tests\")\n"
48+
)
49+
50+
install(
51+
FILES "${_INSTALLED_CTEST_FILE}"
52+
DESTINATION "${CMAKE_INSTALL_BINDIR}/hipdnn_integration_tests_test_infra"
53+
RENAME CTestTestfile.cmake
54+
)

0 commit comments

Comments
 (0)