Skip to content

Commit af31b9c

Browse files
committed
CMPLRTST-16338: add new GPU name for REQUIRES: in test driver
1 parent 3322c7a commit af31b9c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

llvm_test_suite_sycl.pl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,12 @@ sub do_run
592592
$timeset = "--timeout 0";
593593
}
594594

595-
if (gpu(['dg1', 'dg2', 'ats', 'pvc'])) {
595+
if (gpu(['dg1','ats'])) {
596596
$gpu_opts .= "-Dgpu-intel-dg1=1";
597+
} elsif (gpu(['dg2'])) {
598+
$gpu_opts .= "-Dgpu-intel-dg2=1";
599+
} elsif (gpu(['pvc'])) {
600+
$gpu_opts .= "-Dgpu-intel-pvc=1";
597601
}
598602

599603
my $backward_compatibility_opts = "";

0 commit comments

Comments
 (0)