CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
83 lines
2.5 KiB
CMake
83 lines
2.5 KiB
CMake
# Copyright © Advanced Micro Devices, Inc., or its affiliates.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
add_executable(hipdnn_integration_tests_unit_tests
|
|
main.cpp
|
|
../src/harness/bundle/IntegrationBundleVerificationHarness.cpp
|
|
../src/harness/input-init/SynthesizeInputs.cpp
|
|
TestArchMatch.cpp
|
|
TestBundleMetadata.cpp
|
|
TestGraphDescription.cpp
|
|
TestNodeTypeToString.cpp
|
|
TestPlatformUtils.cpp
|
|
TestSupportMatrixCollector.cpp
|
|
TestTestConfig.cpp
|
|
TestTestSettings.cpp
|
|
TestTomlGuards.cpp
|
|
TestGpuReferenceGraphExecutor.cpp
|
|
TestGpuConvolutionFwdSignatureKey.cpp
|
|
TestGpuConvolutionFwdPlan.cpp
|
|
TestReferenceGraphExecutorFactory.cpp
|
|
TestBundleDiscovery.cpp
|
|
TestVerificationPaths.cpp
|
|
TestBundleVerificationHarness.cpp
|
|
TestSynthesisConfig.cpp
|
|
TestSynthesizeInputs.cpp
|
|
TestToleranceResolver.cpp
|
|
TestVerificationModePaths.cpp
|
|
TestErrorPaths.cpp
|
|
)
|
|
|
|
target_include_directories(hipdnn_integration_tests_unit_tests
|
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../src)
|
|
target_include_directories(hipdnn_integration_tests_unit_tests SYSTEM PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../src/third-party/tomlplusplus)
|
|
|
|
target_link_libraries(hipdnn_integration_tests_unit_tests
|
|
PRIVATE
|
|
hip::host
|
|
hipdnn_gpu_ref
|
|
hipdnn_test_sdk
|
|
hipdnn_plugin_sdk
|
|
GTest::gtest
|
|
Threads::Threads
|
|
$<$<PLATFORM_ID:Windows>:shlwapi>
|
|
)
|
|
|
|
target_compile_options(hipdnn_integration_tests_unit_tests
|
|
PRIVATE ${INTEGRATION_TESTS_WARNING_COMPILE_OPTIONS})
|
|
|
|
clang_tidy_check(hipdnn_integration_tests_unit_tests)
|
|
|
|
add_unit_test_target(hipdnn_integration_tests_unit_tests ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
add_executable(hipdnn_gpu_ref_tests
|
|
gpu-ref/main.cpp
|
|
gpu-ref/TestGpuFpReferenceConvolution.cpp
|
|
gpu-ref/TestGpuFpReferenceRMSNorm.cpp
|
|
gpu-ref/TestGpuFpReferenceDgrad.cpp
|
|
gpu-ref/TestGpuFpReferenceWgrad.cpp
|
|
gpu-ref/TestGpuFpReferenceValidation.cpp
|
|
gpu-ref/TestGpuRefHipError.cpp
|
|
gpu-ref/TestGpuRefKernelCompiler.cpp
|
|
gpu-ref/TestShallowDeviceOnlyMigratableMemory.cpp
|
|
gpu-ref/TestShallowGpuTensor.cpp
|
|
)
|
|
|
|
target_link_libraries(hipdnn_gpu_ref_tests
|
|
PRIVATE
|
|
hipdnn_gpu_ref
|
|
hipdnn_test_sdk
|
|
hipdnn_plugin_sdk
|
|
GTest::gtest
|
|
Threads::Threads
|
|
hip::host
|
|
)
|
|
|
|
target_compile_options(hipdnn_gpu_ref_tests
|
|
PRIVATE ${INTEGRATION_TESTS_WARNING_COMPILE_OPTIONS})
|
|
|
|
clang_tidy_check(hipdnn_gpu_ref_tests)
|
|
|
|
add_tiered_test_target(hipdnn_gpu_ref_tests ${CMAKE_CURRENT_BINARY_DIR})
|