blob: 4a3fd1c1383026bde0e6b3140891283477515dd6 [file] [edit]
# HIP device-PGO tests for host-shadowed (statically linked) kernels: require an
# AMD GPU plus a ROCm/HIP install (features set in ../lit.cfg.py).
if not {"hip", "amdgpu"}.issubset(config.available_features):
config.unsupported = True
else:
# Tests share the GPU(s) and pin HIP_VISIBLE_DEVICES; serialize them.
config.parallelism_group = "gpu"