Ben Ashbaugh
0da389cedb
temporarily disable the negative_invalid_arg_size_local test ( #2573 )
...
Temporarily disable the negative_invalid_arg_size_local test, pending
working group discussion.
2025-11-26 16:11:20 -08:00
Marcin Hajder
4e8aa9d3e2
Added test to verify negative result of clSetKernelArg with CL_INVALID_SAMPLER and sampler argument ( #2453 )
...
Related to #2282 , according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773 )
2025-09-17 09:25:12 -07:00
Marcin Hajder
aa950deaf1
Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_SIZE and sampler argument ( #2452 )
...
Related to #2282 , according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773 )
2025-09-17 08:14:30 -07:00
Marcin Hajder
c2baafae3f
Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_SIZE ( #2448 )
...
Related to #2282 , according to work plan related to CL_INVALID_ARG_SIZE
result
2025-09-16 08:45:22 -07:00
Marcin Hajder
a0bd81d574
Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_SIZE and memory object argument ( #2450 )
...
Related to #2282 , according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773 )
2025-09-09 08:44:35 -07:00
Harald van Dijk
913e6e4388
Fix test_api negative_set_read_write_image_arg. ( #2510 )
...
When the implementation does not have image support, the functions used
are not required to be defined and the test should be skipped.
2025-09-02 09:48:51 -07:00
Karol Herbst
1562bcf03c
Fix OOB read in negative_set_immutable_memory_to_writeable_kernel_arg ( #2481 )
...
The image was created with 4 channels, but the initialization data only
accounted for a single channel.
2025-09-02 09:44:46 -07:00
Marcin Hajder
8a2b91c715
Added test to verify negative result of clSetKernelArg with CL_INVALID_KERNEL ( #2460 )
...
Related to #2282 , according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773 )
2025-09-02 08:40:11 -07:00
Marcin Hajder
4115d04ae0
Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_INDEX ( #2458 )
...
Related to #2282 , according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773 )
2025-08-12 08:40:13 -07:00
Marcin Hajder
2e0f803699
Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_SIZE and local qalified argument ( #2449 )
...
Related to #2282 , according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773 )
2025-08-08 14:06:15 -07:00
Marcin Hajder
c7abbe57a4
Added test to verify negative result of clSetKernelArg with CL_INVALID_ARG_VALUE ( #2445 )
...
Related to #2282 , according to work plan with mismatched read/write only
qualifier for image_t objects
2025-08-05 09:09:16 -07:00
Michael Rizkalla
8701acfa90
Add tests for cl_ext_immutable_memory_objects ( #2286 )
...
This change provides partial test coverage for
KhronosGroup/OpenCL-Docs#1280
Adding CTS tests for:
1. clEnqueueMapBuffer, clEnqueueMapImage.
2. Command buffer negative tests.
3. clSetKernelArgs negative tests.
The bulk of the tests is to make sure that the CL driver does not allow
writing to a memory object that is created with `CL_MEM_IMMUTABLE_EXT`
flag when used with the above APIs.
---------
Signed-off-by: Michael Rizkalla <michael.rizkalla@arm.com >
2025-06-17 10:19:11 -07:00
Ahmed Hesham
794d332bab
Migrate API suite to the new test registration framework ( #2196 )
...
Contributes to #2181
Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com >
2024-12-18 17:29:08 +00:00
arm-wk
f47354680f
Limit buffers sizes to leave some memory for the platform ( #1172 )
...
Some conformance tests use directly the size returned by the runtime
for max memory size to allocate buffers.
This doesn't leave enough memory for the system to run the tests.
2024-08-06 09:32:08 -07:00
ellnor01
a6809710ea
Remove unnecessary cl_mem_flags casts ( #1018 )
...
* api, atomics: remove unnecessary cl_mem_flags casts
Instances in api, atomics, buffers and c11_atomics suites
Contributes #759
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
* basic: remove unnecessary cl_mem_flags casts
Contributes #759
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
* spir, thread_dimensions: remove unnecessary cl_mem_flags casts
Instances in spir, thread_dimensions and workgroups tests
Contributes #759
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
* profiling, relationals: remove unnecessary cl_mem_flags casts
Includes relationals, profiling, muliple_device_context, integer_ops
tests
Contributes #759
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
* clcpp: remove unnecessary cl_mem_flags casts
Contibutes #759
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
* events, geometrics: remove unnecessary cl_mem_flags casts
Includes events, geometrics, gl and images tests
Contributes #759
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
* commonfs, compiler: remove unnecessary cl_mem_flags casts
Includes cast removal in commonfs, compiler and device_partition tests
Fixes #759
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
* Fix up formatting
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
2020-10-19 13:56:02 +01:00
Ankit Goyal
4fbcd96e7f
Remove "C" linkages ( #781 )
...
* Remove extern C linkages
* Update crc32 to cpp and remove extern C linkage
2020-05-20 14:16:19 +01:00
James Price
de952011f3
Replace magic constants in api/kernels tests ( #754 )
...
Also remove one unused test function.
2020-05-04 09:12:46 -04:00
James Price
11b21fdcca
Remove unused API test ( #756 )
...
The test was also invalid, since it was testing that you can pass a
structure containing cl_mem objects to a kernel without SVM.
2020-05-01 14:29:32 +01:00
James Price
1e5ffa08b5
Fix initialization of input data for api test ( #746 )
...
Caught by MSAN.
2020-04-28 09:17:14 -04:00
James Price
40f50d77a3
Rename test .c sources to .cpp where necessary ( #604 )
...
Remove hacks to force language from CMake files.
Closes KhronosGroup/OpenCL-CTS#25
2020-02-21 17:34:31 +00:00