Stuart Brady
cdf5a105fc
Fix misleading indentation and enable -Wmisleading-indentation ( #1458 )
...
Signed-off-by: Stuart Brady <stuart.brady@arm.com >
2022-08-02 18:16:03 +01:00
Ben Ashbaugh
02bf24d2b1
remove min max macros ( #1310 )
...
* remove the MIN and MAX macros and use the std versions instead
* fix formatting
* fix Arm build
* remove additional MIN and MAX macros from compat.h
2021-09-13 13:25:32 +01:00
ellnor01
5ae5e7a1fa
Remove imageSupportRequired parameter to runTestHarness ( #1077 )
...
* Tests requiring image support use runTestHarnessWithCheck
Removing special case for images in runTestHarness.
Fixes #710
* Remove imageSupportRequired argument
Tests which require image support now specify this while
calling runTestHarnessWithCheck.
Fixes #710
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
2020-12-09 16:12:40 +00: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
Chetan Mistry
7a735b74e3
Replace cl_ushort with cl_half ( #885 ) ( #1000 )
...
* test_common: Replace cl_ushort with cl_half (#885 )
Change-Id: I507eca2084629c3b6f3e7331f062f006edbce434
Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com >
* buffers, pipes, profiling: Replace cl_ushort with cl_half (#885 )
Change-Id: Id9799322b636af6aa0eec3d4e846d7af8c7f9602
Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com >
* images/kernel_read_write: Replace cl_ushort with cl_half (#885 )
Change-Id: I922ddb593b6e5631d0f4ea1522c7f75f8770be40
Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com >
* half: Replace cl_ushort with cl_half (#885 )
Change-Id: I484a5bb2b33a7e87805fc6079953c66e5f8d9239
Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com >
2020-10-02 16:29:05 +01:00
ellnor01
a34bae7abc
Remove code under USE_LOCAL_THREADS ( #850 )
...
Code uses outdated API calls
Fixes #715
Change-Id: I575c8ec4003fd30a3cec28ad114d5749f2e83d0f
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
2020-07-20 12:01:34 -04:00
ellnor01
8cbd650b16
Remove read_struct_array test function ( #849 )
...
Test has previously been commented out and adds no value.
Struct array is already tested with test_stream_read.
Change-Id: I4f5acfc431b7cf39408e3e0fd41a6f89fc9353fa
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
2020-07-17 10:02:57 -04:00
ellnor01
4f4950feee
Remove test_stream_struct_write test ( #825 )
...
Test has been commented out.
This is effecting clang-format checks in the file.
Removing test as it is not in use.
Change-Id: Ic9a7ab68a514fa6dc01e4d86a7bda1a9856a75e8
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
2020-06-17 10:14:11 +01: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
Kévin Petit
3f11868e11
Fix warnings reported by -Wconversion-null ( #603 )
...
Fix error reporting in clFillImage as a result.
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-02-21 12:21:53 +00:00
Kevin Petit
e306ecd691
Remove most remaining clCreate*WithProperties calls in tests that run on 1.2
...
Don't touch interop suites or code only run with options not required
for conformance.
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-02-20 14:38:08 +00:00
jiabaxie
943ba04c0c
set gDeviceType in testharness.c ( #597 )
...
* set gDeviceType in testharness.c, also moved gTestRounding to imageHelpers.cpp & .h and removed duplicate code from host_atomics.cpp
* Cleaned up some redundant code
* Reversed the change in testharness.c
2020-02-20 10:39:55 +00:00
jiabaxie
68d08e07bf
Moved all instances of gDeviceType to imageHelper.cpp ( #575 )
...
* Moved all instances of gDeviceType to imageHelper.cpp
* Missed one instance of gDeviceType
* Removed all instances of extern cl_device_type gDeviceType, except in imageHelpers.h
2020-02-06 08:27:13 +01:00
Kévin Petit
fa4b278432
Build the harness as a static library ( #430 )
...
This reduces by a factor of roughly two the number of files to build.
Fixes #193 .
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2019-08-07 17:18:10 +01:00
Kevin Petit
ef832c330c
Stop using ../../test_common to include common headers
...
Fixes #395 .
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2019-08-01 18:41:12 +01:00
Grzegorz Wawiorko
6c999818ee
cl22: Improved CRC calculation ( #133 )
...
* Improved CRC calculation
* Improved CRC calculation - review fix
* Improved CRC calculation - build brake fix
* Improved CRC calculation - remove external initializaiton
2019-04-18 15:00:45 +01:00
Radek Szymanski
07196c351a
cl22: Use single array for function list ( #148 )
...
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-04-10 12:30:38 +01:00
Kevin Petit
b6446a2f1d
Remove build systems other than CMake
...
Make it clear that CMake is the only supported build system.
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2019-03-15 09:47:56 +00:00
Kedar Patil
2821bf1323
Initial open source release of OpenCL 2.2 CTS.
2017-05-16 18:44:33 +05:30