Skip to content

Commit 9fde352

Browse files
committed
CMPLRTOOLS-26492: enable ESIMD_EMULATOR for optset opt_use_esimd_emu
1 parent 1195041 commit 9fde352

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm_test_suite_sycl.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,8 @@ sub run_cmake
817817
$sycl_backend = "PI_CUDA";
818818
} elsif ( $current_optset =~ m/gpu/ ) {
819819
$sycl_backend = "PI_LEVEL_ZERO";
820+
} elsif ( $current_optset =~ m/opt_use_esimd_emu/ ) {
821+
$sycl_backend = "ext_intel_esimd_emulator";
820822
} else {
821823
$sycl_backend = "PI_OPENCL";
822824
}
@@ -840,6 +842,8 @@ sub run_cmake
840842
$device = "acc";
841843
}elsif ( $current_optset =~ m/opt_use_nv_gpu/ ){
842844
$device = "gpu";
845+
}elsif ( $current_optset =~ m/opt_use_esimd_emu/ ){
846+
$device = "gpu";
843847
}else{
844848
$device = "host";
845849
}

0 commit comments

Comments
 (0)