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
Kévin Petit
ed50fcad2d
Use float<->half conversion routines from the OpenCL headers ( #884 )
...
* Use float<->half conversion routines from the OpenCL headers
Fixes #870
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
* Use cl_half_from_double
* Fix windows build errors
* Fix more build errors
* Code formatting
* Remove TEST class
2020-08-14 13:50:14 +01:00
ellnor01
3b79ecdb87
Replace get_device_version with get_cl_device_version ( #733 )
...
They are duplicate functions
Fixes #709
Change-Id: I8f7d6b8254047adb9e09ede4951dedc3ec5c1099
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com >
2020-04-15 14:31:22 +01: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
James Price
3b577bb13a
Make template type explicit for std::min calls
...
Fixes build on macOS, which complained about the mismatched argument
types.
2018-11-09 11:34:39 +00:00
James Price
bb92fae53e
Declare gDeviceType in clcpp image test
...
Fixes build on macOS. This is a hangover from some Apple specific code
that is in the image helper functions.xs
2018-11-09 11:34:39 +00:00
Kedar Patil
252b514ef4
Add SPIR-V binaries for OpenCL C++ tests.
...
Addresses issue #1 .
2017-07-25 20:39:41 +05:30
Kedar Patil
2821bf1323
Initial open source release of OpenCL 2.2 CTS.
2017-05-16 18:44:33 +05:30