Files
OpenCL-CTS/test_conformance/opencl_conformance_tests_full_spirv.csv
Ewan Crawford b64f429b4a Add new extensions to conformance csv files (#2096)
The extension tests in `test_conformance/extensions` have not matching
entries in the `opencl_conformance_tests_*.csv` files. This means that
they are missed from conformance runs by vendors who use these files.

I've included the new extensions in the full and quick CSV files as they
don't have vast combinations of tests to run like bruteforce or
conversions.

I've put `cl_khr_dx9_media_sharing` in the
`test_conformance/opencl_conformance_tests_d3d.csv` CSV as like the
other tests there the test binary is conditional built only on a Windows
platform.

I've created a new `opencl_conformance_tests_vulkan.csv ` file for
testing the `cl_khr_external_semaphore` extension, as creation of the
binary is conditional on the Vulkan SDK being enabled environment. Any
other tests that require the Vulkan SDK in future can also be added
there.
2024-10-08 09:58:31 -07:00

7.8 KiB

1#
2# OpenCL Conformance Test Suite (full version)
3#
4# #########################################
5# Basic Information on the compute device
6# #########################################
7Compute Info,computeinfo/test_computeinfo
8# #########################################
9# Basic operation tests
10# #########################################
11Basic,basic/test_basic --compilation-mode spir-v --compilation-cache-path .
12API,api/test_api --compilation-mode spir-v --compilation-cache-path .
13Compiler,compiler/test_compiler --compilation-mode spir-v --compilation-cache-path .
14# #########################################
15# Common mathematical functions
16# #########################################
17Common Functions,commonfns/test_commonfns --compilation-mode spir-v --compilation-cache-path .
18Geometric Functions,geometrics/test_geometrics --compilation-mode spir-v --compilation-cache-path .
19Relationals,relationals/test_relationals --compilation-mode spir-v --compilation-cache-path .
20# #########################################
21# General operation
22# #########################################
23Thread Dimensions,thread_dimensions/test_thread_dimensions full* --compilation-mode spir-v --compilation-cache-path .
24Multiple Device/Context,multiple_device_context/test_multiples --compilation-mode spir-v --compilation-cache-path .
25Atomics,atomics/test_atomics --compilation-mode spir-v --compilation-cache-path .
26Profiling,profiling/test_profiling --compilation-mode spir-v --compilation-cache-path .
27Events,events/test_events --compilation-mode spir-v --compilation-cache-path .
28Allocations (single maximum),allocations/test_allocations single 5 all --compilation-mode spir-v --compilation-cache-path .
29Allocations (total maximum),allocations/test_allocations multiple 5 all --compilation-mode spir-v --compilation-cache-path .
30Vectors, vectors/test_vectors --compilation-mode spir-v --compilation-cache-path .
31Printf,printf/test_printf --compilation-mode spir-v --compilation-cache-path .
32Device Partitioning,device_partition/test_device_partition --compilation-mode spir-v --compilation-cache-path .
33# #########################################
34# Buffers and images
35# #########################################
36Images (API Info),images/clGetInfo/test_cl_get_info
37Buffers,buffers/test_buffers --compilation-mode spir-v --compilation-cache-path .
38Images (Kernel Methods),images/kernel_image_methods/test_kernel_image_methods --compilation-mode spir-v --compilation-cache-path .
39Images (Kernel),images/kernel_read_write/test_image_streams CL_FILTER_NEAREST --compilation-mode spir-v --compilation-cache-path .
40Images (Kernel pitch),images/kernel_read_write/test_image_streams use_pitches CL_FILTER_NEAREST --compilation-mode spir-v --compilation-cache-path .
41Images (Kernel max size),images/kernel_read_write/test_image_streams max_images CL_FILTER_NEAREST --compilation-mode spir-v --compilation-cache-path .
42Images (clCopyImage),images/clCopyImage/test_cl_copy_images
43Images (clCopyImage small),images/clCopyImage/test_cl_copy_images small_images
44Images (clCopyImage max size),images/clCopyImage/test_cl_copy_images max_images
45Images (clReadWriteImage),images/clReadWriteImage/test_cl_read_write_images
46Images (clReadWriteImage pitch),images/clReadWriteImage/test_cl_read_write_images use_pitches
47Images (clReadWriteImage max size),images/clReadWriteImage/test_cl_read_write_images max_images
48Images (clFillImage),images/clFillImage/test_cl_fill_images
49Images (clFillImage pitch),images/clFillImage/test_cl_fill_images use_pitches
50Images (clFillImage max size),images/clFillImage/test_cl_fill_images max_images
51Images (Samplerless),images/samplerlessReads/test_samplerless_reads --compilation-mode spir-v --compilation-cache-path .
52Images (Samplerless pitch),images/samplerlessReads/test_samplerless_reads use_pitches --compilation-mode spir-v --compilation-cache-path .
53Images (Samplerless max size),images/samplerlessReads/test_samplerless_reads max_images --compilation-mode spir-v --compilation-cache-path .
54Mem (Host Flags),mem_host_flags/test_mem_host_flags
55# #########################################
56# CPU is required to pass linear and normalized image filtering
57# #########################################
58CL_DEVICE_TYPE_CPU, Images (Kernel CL_FILTER_LINEAR),images/kernel_read_write/test_image_streams CL_FILTER_LINEAR --compilation-mode spir-v --compilation-cache-path .
59CL_DEVICE_TYPE_CPU, Images (Kernel CL_FILTER_LINEAR pitch),images/kernel_read_write/test_image_streams use_pitches CL_FILTER_LINEAR --compilation-mode spir-v --compilation-cache-path .
60CL_DEVICE_TYPE_CPU, Images (Kernel CL_FILTER_LINEAR max size),images/kernel_read_write/test_image_streams max_images CL_FILTER_LINEAR --compilation-mode spir-v --compilation-cache-path .
61# #########################################
62# OpenGL/CL interaction
63# #########################################
64OpenCL-GL Sharing,gl/test_gl --compilation-mode spir-v --compilation-cache-path .
65# #########################################
66# Thorough math and conversions tests
67# #########################################
68Select,select/test_select --compilation-mode spir-v --compilation-cache-path .
69Conversions,conversions/test_conversions --compilation-mode spir-v --compilation-cache-path .
70Contractions,contractions/test_contractions --compilation-mode spir-v --compilation-cache-path .
71Math,math_brute_force/test_bruteforce --compilation-mode spir-v --compilation-cache-path .
72Integer Ops,integer_ops/test_integer_ops --compilation-mode spir-v --compilation-cache-path .
73Half Ops,half/test_half --compilation-mode spir-v --compilation-cache-path .
74#####################################
75# OpenCL 2.0 tests
76#####################################
77C11 Atomics,c11_atomics/test_c11_atomics --compilation-mode spir-v --compilation-cache-path .
78Execution Model,device_execution/test_device_execution --compilation-mode spir-v --compilation-cache-path .
79Generic Address Space,generic_address_space/test_generic_address_space --compilation-mode spir-v --compilation-cache-path .
80Non Uniform Work Groups,non_uniform_work_group/test_non_uniform_work_group --compilation-mode spir-v --compilation-cache-path .
81Pipes,pipes/test_pipes --compilation-mode spir-v --compilation-cache-path .
82SVM,SVM/test_svm --compilation-mode spir-v --compilation-cache-path .
83Workgroups,workgroups/test_workgroups --compilation-mode spir-v --compilation-cache-path .
84#####################################
85# OpenCL 2.1 tests
86#####################################
87Device timer,device_timer/test_device_timer
88SPIRV new,spirv_new/test_spirv_new --spirv-binaries-path spirv_bin
89#########################################
90# Extensions
91#########################################
92SPIR,spir/test_spir
93Mipmaps (Kernel),images/kernel_read_write/test_image_streams test_mipmaps CL_FILTER_NEAREST --compilation-mode spir-v --compilation-cache-path .
94Mipmaps (clCopyImage),images/clCopyImage/test_cl_copy_images test_mipmaps --compilation-mode spir-v --compilation-cache-path .
95Mipmaps (clReadWriteImage),images/clReadWriteImage/test_cl_read_write_images test_mipmaps --compilation-mode spir-v --compilation-cache-path .
96Subgroups,subgroups/test_subgroups --compilation-mode spir-v --compilation-cache-path .
97cl_ext_cxx_for_opencl,extensions/cl_ext_cxx_for_opencl/test_cl_ext_cxx_for_opencl --compilation-mode spir-v --compilation-cache-path .
98cl_khr_semaphore,extensions/cl_khr_semaphore/test_cl_khr_semaphore --compilation-mode spir-v --compilation-cache-path .
99cl_khr_command_buffer,extensions/cl_khr_command_buffer/test_cl_khr_command_buffer --compilation-mode spir-v --compilation-cache-path .
100cl_khr_command_buffer_mutable_dispatch,extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/test_cl_khr_mutable_dispatch --compilation-mode spir-v --compilation-cache-path .
101cl_khr_kernel_clock,extensions/cl_khr_kernel_clock/test_cl_khr_kernel_clock --compilation-mode spir-v --compilation-cache-path .