Skip to content

Commit 6b5e79d

Browse files
committed
add curand as dependency to cuda core run-tests
1 parent cd8d45a commit 6b5e79d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ci/tools/run-tests‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ elif [[ "${test_module}" == "core" || "${test_module}" == nightly-* ]]; then
114114
# instead of being waived. Samples with heavier/unavailable deps stay waived.
115115
echo "Installing optional sample deps (nvtx, pillow)"
116116
pip install nvtx pillow || echo "Warning: optional sample deps install failed; affected samples will be waived"
117+
# curand: some samples (vectorAdd, parallelHistogram) call cp.random,
118+
# which dlopens libcurand at runtime.
119+
echo "Installing optional sample deps (curand)"
120+
pip install "cuda-toolkit[curand]==${TEST_CUDA_MAJOR_MINOR}.*" || echo "Warning: curand install failed; affected samples will be waived"
117121
echo "Installed packages before core tests:"
118122
pip list
119123
echo "Running core tests"

0 commit comments

Comments
 (0)