From e2843700201b5ce1c927cf917d18a031a996c8e2 Mon Sep 17 00:00:00 2001 From: yuxianch Date: Fri, 30 Jul 2021 14:08:25 +0800 Subject: [PATCH] Add feature matrix which is only supported on specific hardware --- SYCL/lit.cfg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SYCL/lit.cfg.py b/SYCL/lit.cfg.py index cecb1dd48a..f6d8c9980a 100644 --- a/SYCL/lit.cfg.py +++ b/SYCL/lit.cfg.py @@ -97,6 +97,9 @@ if lit_config.params.get('gpu-intel-dg1', False): config.available_features.add('gpu-intel-dg1') +if lit_config.params.get('matrix', False): + config.available_features.add('matrix') + # check if compiler supports CL command line options cl_options=False sp = subprocess.getstatusoutput(config.dpcpp_compiler+' /help')