Banan-Askhar-Mobileye
caa656c268
fixing test events ( #1678 )
2023-05-03 09:16:21 +01:00
Sven van Haastregt
a70fa56003
Fix some Wunused-but-set warnings ( #1666 )
...
To the best of my understanding, these occurrences of the
`-Wunused-but-set` warnings do not reveal any underlying issues, so we
can safely remove these variables. There are more occurrences of this
warning in other places (not touched by this commit) that require
further analysis.
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com >
2023-03-30 09:34:00 +01:00
Sven van Haastregt
fb949f9256
events: Remove unused BufferAction::Setup parameter ( #1586 )
...
`BufferAction::Setup` has an additional parameter `allocate` which
hides the virtual function `Action::Setup`. The additional parameter
was unused anyway, so remove it.
Fixes a -Woverloaded-virtual warning.
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com >
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com >
2022-12-13 09:53:11 -08:00
Stuart Brady
d42b3dcfb6
[NFC] Fix typo (enevt_type -> event_type) ( #1498 )
...
Signed-off-by: Stuart Brady <stuart.brady@arm.com >
2022-09-13 17:49:09 +01:00
Stuart Brady
1d74c85ff3
[NFC] Reformat code in events test ( #1497 )
...
Signed-off-by: Stuart Brady <stuart.brady@arm.com >
2022-09-13 13:42:32 +01:00
Sven van Haastregt
6554c49018
[NFCI] Remove unused variables and enable -Wunused-variable ( #1483 )
...
Remove unused variables throughout the code base and enable the
`-Wunused-variable` warning flag globally to prevent new unused
variable issues being introduced in the future.
This is mostly a non-functional change, with one exception:
- In `test_conformance/api/test_kernel_arg_info.cpp`, an error check
of the clGetDeviceInfo return value was added.
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com >
2022-09-08 12:54:36 +01:00
Matthias Diener
c44b5b6ae3
Fix indentation of test_waitlists.cpp ( #1459 )
...
* fix indentation of test_waitlists.cpp
Followup of #1458
* run formatter
2022-08-02 20:31:24 +01:00
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
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
Kévin Petit
c8163e931f
Fix a few typos and remove unused code ( #1041 )
...
Fixes #845
Fixes #844
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-11-06 11:24:15 +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
Jeremy Kemp
803a99fd4a
Release some dangling objects in userevents. ( #837 )
2020-07-24 10:54:32 +01:00
James Price
eb4afc9547
Use std::thread for userevents_multithreaded test ( #824 )
...
The genericThread abstraction is not necessary now that C++11 is
required.
2020-06-12 10:08:23 +01:00
Kévin Petit
b2eba77d42
Get rid of test_finish macro and related ATF cruft ( #633 )
...
Closes #431
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-03-02 15:06:44 +00: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
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
Kévin Petit
681150254f
Remove some dead code ( #586 )
...
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-02-11 09:04:46 +00:00
Kévin Petit
82579827da
Remove dead code from test_userevents ( #473 )
...
This code probably predates the move to the test framework and is
no longer useful.
Signed-off-by: Kévin Petit <kpet@free.fr >
2019-11-12 15:01:32 +00: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