Skip to content

Commit 536839e

Browse files
authored
[SYCLomatic] Add the PVC into device list. (#661)
Signed-off-by: Chen, Sheng S <[email protected]>
1 parent 4169b53 commit 536839e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

run_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def parse_input_args():
465465
parser.add_argument("--option", "-o", action = "store", default = "",
466466
help = "The option applies to test. e.g.: -o option_cpu. Please ref the option_mapping.json")
467467
parser.add_argument("--device", '-d', action = "store", default = "",
468-
help = "Current support Gen9 and Gen12 backend device. e.g.: -d Gen9")
468+
help = "Current support Gen9, Gen12 and PVC backend device. e.g.: -d Gen9")
469469
args = parser.parse_args()
470470
if args.option and not args.suite:
471471
sys.stderr.write("Must specify the suite target to run.\n")
@@ -477,7 +477,7 @@ def parse_input_args():
477477
sys.stderr.write("Must specify the suite target to run.\n")
478478
exit(1)
479479
if args.device and args.device not in test_config.gpu_device:
480-
sys.stderr.write("Only support Gen9 and Gen12 GPU device.\n")
480+
sys.stderr.write("Only support Gen9, Gen12 and PVC GPU device.\n")
481481
exit(1)
482482
return args
483483

test_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
mkl_comp_opt = ["-DMKL_ILP64"]
5151

52-
gpu_device = ["Gen9", "Gen12"]
52+
gpu_device = ["Gen9", "Gen12", "PVC"]
5353

5454
# The gpu support double kernel type.
55-
support_double_gpu = ["Gen9"]
55+
support_double_gpu = ["Gen9", "PVC"]

0 commit comments

Comments
 (0)