@@ -81,18 +81,19 @@ list of configurations. Each configuration includes backend separated
8181from comma-separated list of target devices with colon. Example:
8282
8383```
84- -DCHECK_SYCL_ALL="opencl:cpu,host;level_zero:gpu,host;cuda:gpu"
84+ -DCHECK_SYCL_ALL="opencl:cpu,host;level_zero:gpu,host;cuda:gpu;rocm:gpu "
8585```
8686
8787*** SYCL_BE*** SYCL backend to be used for testing. Supported values are:
8888 - ** opencl** - for OpenCL backend;
8989 - ** cuda** - for CUDA backend;
90+ - ** rocm** - for ROCm backend;
9091 - ** level_zero** - Level Zero backend.
9192
9293*** SYCL_TARGET_DEVICES*** comma separated list of target devices for testing.
9394Default value is cpu,gpu,acc,host. Supported values are:
9495 - ** cpu** - CPU device available in OpenCL backend only;
95- - ** gpu** - GPU device available in OpenCL, Level Zero and CUDA backends;
96+ - ** gpu** - GPU device available in OpenCL, Level Zero, CUDA, and ROCm backends;
9697 - ** acc** - FPGA emulator device available in OpenCL backend only;
9798 - ** host** - SYCL Host device available with all backends.
9899
@@ -105,6 +106,15 @@ specified by this variable.
105106
106107*** LEVEL_ZERO_LIBS_DIR*** path to Level Zero libraries.
107108
109+ *** ROCM_PLATFORM*** platform selection for ROCm targeted devices.
110+ Defaults to AMD if no value is given. Supported values are:
111+ - ** AMD** - for ROCm to target AMD GPUs
112+ - ** NVIDIA** - for ROCm to target NVIDIA GPUs
113+
114+ *** MCPU*** Flag must be set for when using ROCm triple.
115+ For example it may be set to "gfx906".
116+
117+
108118# Special test categories
109119
110120There are two special directories for extended testing. See documentation at:
@@ -124,7 +134,7 @@ unavailable.
124134
125135 * ** windows** , ** linux** - host OS;
126136 * ** cpu** , ** gpu** , ** host** , ** accelerator** - target device;
127- * ** cuda** , ** opencl** , ** level_zero** - target backend;
137+ * ** cuda** , ** rocm ** , ** opencl** , ** level_zero** - target backend;
128138 * ** sycl-ls** - sycl-ls tool availability;
129139 * ** cl_options** - CL command line options recognized (or not) by compiler;
130140 * ** opencl_icd** - OpenCL ICD loader availability;
@@ -142,7 +152,7 @@ configure specific single test execution in the command line:
142152 * ** dpcpp_compiler** - full path to dpcpp compiler;
143153 * ** target_device** - comma-separated list of target devices (cpu, gpu, acc,
144154 host);
145- * ** sycl_be** - SYCL backend to be used (opencl, level_zero, cuda);
155+ * ** sycl_be** - SYCL backend to be used (opencl, level_zero, cuda, rocm );
146156 * ** dump_ir** - if IR dumping is supported for compiler (True, False);
147157 * ** gpu-intel-dg1** - tells LIT infra that Intel GPU DG1 is present in the
148158 system. It is developer / CI infra responsibility to make sure that the
0 commit comments