Files
2026-03-11 11:50:55 -07:00

29 lines
454 B
Nix

{
lib,
makeImpureTest,
opencl-cts,
clr,
}:
makeImpureTest {
name = "opencl-cts";
testedPackage = "rocmPackages.clr";
sandboxPaths = [
"/sys"
"/dev/dri"
"/dev/kfd"
];
nativeBuildInputs = [ opencl-cts ];
OCL_ICD_VENDORS = "${clr.icd}/etc/OpenCL/vendors";
testScript = ''
test_basic arraycopy arrayreadwrite astype barrier vector_swizzle work_item_functions
'';
meta = {
teams = [ lib.teams.rocm ];
};
}