[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Running autopkgtests with AMD GPUs with rocm-test-launcher



Hi,

I uploaded pkg-rocm-tools to unstable today, which means the various
utilities we have been using from our private repo are now generally
available.

This includes rocm-test-launcher, a script that facilitates running
autopkgtests with AMD GPUs.

In its simplest form, this script just performs a few checks. However,
it can be configured to do a bit more. For example, in our own CI, we
can configure workers to instruct the script to dump valuable system
info (dmesg, firmware info, ...) as autopkgtest artifacts.

This works with any package using ROCm, now just our own.

I have uploaded new versions of hipsolver and rocrand, which were using
embedded "beta" versions of this script, to serve as examples.
  * hipsolver invokes rocm-test-launcher for a single binary, doesn't need
    anything beyond d/tests/control
  * rocrand has a few dozen test binaries, so rocm-test-launcher invokes
    a tiny wrapper "run-testdir" to run all N tests in series

It would be great if updates to other packages could make use of this
script, for the reasons listed above.

Best,
Christian

[1]: https://salsa.debian.org/rocm-team/hipsolver/-/blob/master/debian/tests/control
[2]: https://salsa.debian.org/rocm-team/rocrand/-/blob/master/debian/tests/control


Reply to: