From c2be67697f8e789e6f0d85a1a2d2d02b1ba911b9 Mon Sep 17 00:00:00 2001 From: daniellegillai Date: Wed, 8 Jul 2026 17:15:40 -0700 Subject: [PATCH 1/4] change rocjpeg test arg 2->1 --- tests/cpp_api/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cpp_api/CMakeLists.txt b/tests/cpp_api/CMakeLists.txt index 61237b2b7..bdc6cb8d2 100644 --- a/tests/cpp_api/CMakeLists.txt +++ b/tests/cpp_api/CMakeLists.txt @@ -244,11 +244,11 @@ endif() if(rocjpeg_FOUND) add_test(NAME basic_test_rocjpeg_gray COMMAND basic_test - ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet-val.txt 1 1 224 224 0 1 2 + ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet-val.txt 1 1 224 224 0 1 1 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/basic_test) add_test(NAME basic_test_rocjpeg_rgb COMMAND basic_test - ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet-val.txt 1 1 224 224 1 1 2 + ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet ${ROCM_PATH}/share/rocal/test/data/images/AMD-tinyDataSet-val.txt 1 1 224 224 1 1 1 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/basic_test) endif() From 3706c201096c8cb1b343f138e9ac4b07d2941258 Mon Sep 17 00:00:00 2001 From: daniellegillai Date: Fri, 17 Jul 2026 13:48:37 -0700 Subject: [PATCH 2/4] export libva driver path --- .github/workflows/conformance-hip.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/conformance-hip.yml b/.github/workflows/conformance-hip.yml index 3d9d896ed..fcbc86da5 100644 --- a/.github/workflows/conformance-hip.yml +++ b/.github/workflows/conformance-hip.yml @@ -39,6 +39,7 @@ defaults: env: ROCM_PATH: /opt/rocm LD_LIBRARY_PATH: /opt/rocm/lib + LIBVA_DRIVERS_PATH: /opt/rocm/lib/rocm_sysdeps/lib HIP_VISIBLE_DEVICES: 0 # Cancel superseded runs of the same ref so rapid pushes to a PR don't queue up From c35b29e30117854d06888727095e999aeb5a5b72 Mon Sep 17 00:00:00 2001 From: daniellegillai Date: Mon, 20 Jul 2026 10:29:43 -0700 Subject: [PATCH 3/4] added LD_PRELOAD flag to load libva from TheRock --- .github/workflows/conformance-hip.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/conformance-hip.yml b/.github/workflows/conformance-hip.yml index fcbc86da5..a65b93d67 100644 --- a/.github/workflows/conformance-hip.yml +++ b/.github/workflows/conformance-hip.yml @@ -40,6 +40,7 @@ env: ROCM_PATH: /opt/rocm LD_LIBRARY_PATH: /opt/rocm/lib LIBVA_DRIVERS_PATH: /opt/rocm/lib/rocm_sysdeps/lib + LD_PRELOAD: $ROCM_PATH/lib/rocm_sysdeps/lib/librocm_sysdeps_va.so.2:$ROCM_PATH/lib/rocm_sysdeps/lib/librocm_sysdeps_va-drm.so.2 HIP_VISIBLE_DEVICES: 0 # Cancel superseded runs of the same ref so rapid pushes to a PR don't queue up From e069418bf74785b3f1494400e677ab20774d9494 Mon Sep 17 00:00:00 2001 From: daniellegillai Date: Fri, 24 Jul 2026 09:49:47 -0700 Subject: [PATCH 4/4] hardcode path for env --- .github/workflows/conformance-hip.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conformance-hip.yml b/.github/workflows/conformance-hip.yml index a65b93d67..39f2c5c73 100644 --- a/.github/workflows/conformance-hip.yml +++ b/.github/workflows/conformance-hip.yml @@ -40,7 +40,7 @@ env: ROCM_PATH: /opt/rocm LD_LIBRARY_PATH: /opt/rocm/lib LIBVA_DRIVERS_PATH: /opt/rocm/lib/rocm_sysdeps/lib - LD_PRELOAD: $ROCM_PATH/lib/rocm_sysdeps/lib/librocm_sysdeps_va.so.2:$ROCM_PATH/lib/rocm_sysdeps/lib/librocm_sysdeps_va-drm.so.2 + LD_PRELOAD: /opt/rocm/lib/rocm_sysdeps/lib/librocm_sysdeps_va.so.2:/opt/rocm/lib/rocm_sysdeps/lib/librocm_sysdeps_va-drm.so.2 HIP_VISIBLE_DEVICES: 0 # Cancel superseded runs of the same ref so rapid pushes to a PR don't queue up