Skip to content

Commit ab5cc82

Browse files
authored
Bump rocm-systems 20251119 (#2220)
Bump rocm-systems 20251119
1 parent 79d8af4 commit ab5cc82

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

core/CMakeLists.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,21 @@ if(THEROCK_ENABLE_OCL_RUNTIME)
293293
)
294294

295295
therock_test_validate_shared_lib(
296-
PATH ocl-clr/dist/lib
296+
PATH ocl-clr/dist/lib/opencl
297297
LIB_NAMES
298298
libamdocl64.so
299299
)
300300

301+
# Ensure runtime dependencies of libamdocl64.so (for example,
302+
# libamd_comgr_loader.so) are discoverable by the dynamic loader when
303+
# running the validation test. Some configurations (e.g. Windows) do not
304+
# register this test, so guard the property update accordingly.
305+
if(TEST therock-validate-shared-lib-libamdocl64.so)
306+
set_tests_properties(therock-validate-shared-lib-libamdocl64.so
307+
PROPERTIES
308+
ENVIRONMENT
309+
"LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/core/ocl-clr/dist/lib:$ENV{LD_LIBRARY_PATH}"
310+
)
311+
endif()
312+
301313
endif(THEROCK_ENABLE_OCL_RUNTIME)

rocm-systems

Submodule rocm-systems updated 579 files

0 commit comments

Comments
 (0)