Stop using ../../test_common to include common headers

Contributes to #395.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kevin Petit
2019-08-01 12:54:59 +01:00
committed by Kévin Petit
parent 9148b1648a
commit 45129878ab
150 changed files with 354 additions and 357 deletions

View File

@@ -23,7 +23,7 @@
#include <math.h>
#include <string.h>
#include "procs.h"
#include "../../test_common/harness/testHarness.h"
#include "harness/testHarness.h"
#if !defined(_WIN32)
#include <unistd.h>

View File

@@ -13,11 +13,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
#include "../../test_common/harness/errorHelpers.h"
#include "../../test_common/harness/kernelHelpers.h"
#include "../../test_common/harness/typeWrappers.h"
#include "../../test_common/harness/clImageHelper.h"
#include "../../test_common/harness/imageHelpers.h"
#include "harness/errorHelpers.h"
#include "harness/kernelHelpers.h"
#include "harness/typeWrappers.h"
#include "harness/clImageHelper.h"
#include "harness/imageHelpers.h"
extern float calculate_ulperror(float a, float b);
extern int test_load_single_kernel(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);

View File

@@ -14,8 +14,8 @@
// limitations under the License.
//
#include "testBase.h"
#include "../../test_common/harness/typeWrappers.h"
#include "../../test_common/harness/testHarness.h"
#include "harness/typeWrappers.h"
#include "harness/testHarness.h"
#include <ctype.h>
#include <string.h>

View File

@@ -14,7 +14,7 @@
// limitations under the License.
//
#include "testBase.h"
#include "../../test_common/harness/testHarness.h"
#include "harness/testHarness.h"
const char *kernel_with_bool[] = {

View File

@@ -19,7 +19,7 @@
#include <unistd.h>
#endif
#include "../../test_common/harness/conversions.h"
#include "harness/conversions.h"
extern cl_uint gRandomSeed;

View File

@@ -14,7 +14,7 @@
// limitations under the License.
//
#include "testBase.h"
#include "../../test_common/harness/testHarness.h"
#include "harness/testHarness.h"
const char *sample_single_kernel[] = {

View File

@@ -14,7 +14,7 @@
// limitations under the License.
//
#include "testBase.h"
#include "../../test_common/harness/testHarness.h"
#include "harness/testHarness.h"
#ifndef _WIN32
#include <unistd.h>
#endif

View File

@@ -14,7 +14,7 @@
// limitations under the License.
//
#include "testBase.h"
#include "../../test_common/harness/conversions.h"
#include "harness/conversions.h"
// This test is designed to stress passing multiple vector parameters to kernels and verifying access between them all

View File

@@ -14,8 +14,8 @@
// limitations under the License.
//
#include "testBase.h"
#include "../../test_common/harness/typeWrappers.h"
#include "../../test_common/harness/conversions.h"
#include "harness/typeWrappers.h"
#include "harness/conversions.h"
extern cl_uint gRandomSeed;

View File

@@ -15,8 +15,8 @@
//
#include "testBase.h"
#include "../images/image_helpers.h"
#include "../../test_common/harness/typeWrappers.h"
#include "../../test_common/harness/testHarness.h"
#include "harness/typeWrappers.h"
#include "harness/testHarness.h"
extern cl_uint gRandomSeed;

View File

@@ -19,7 +19,7 @@
#include <unistd.h>
#endif
#include "../../test_common/harness/conversions.h"
#include "harness/conversions.h"
extern cl_uint gRandomSeed;

View File

@@ -14,7 +14,7 @@
// limitations under the License.
//
#include "testBase.h"
#include "../../test_common/harness/imageHelpers.h"
#include "harness/imageHelpers.h"
#include <stdlib.h>
#include <ctype.h>

View File

@@ -16,12 +16,14 @@
#include "testBase.h"
#include "../../test_common/harness/typeWrappers.h"
#include "../../test_common/harness/conversions.h"
#include "harness/typeWrappers.h"
#include "harness/conversions.h"
#include <sstream>
#include <string>
#include <vector>
#include <CL/cl_ext.h>
using namespace std;
/*
The test against cl_khr_create_command_queue extension. It validates if devices with Opencl 1.X can use clCreateCommandQueueWithPropertiesKHR function.
@@ -171,4 +173,4 @@ int test_queue_properties(cl_device_id deviceID, cl_context context, cl_command_
}
return 0;
}
}

View File

@@ -19,7 +19,7 @@
#include <unistd.h>
#endif
#include "../../test_common/harness/compat.h"
#include "harness/compat.h"
int test_release_kernel_order(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements)
{