mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Remove "C" linkages (#781)
* Remove extern C linkages * Update crc32 to cpp and remove extern C linkage
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
#include "harness/conversions.h"
|
||||
#include "harness/typeWrappers.h"
|
||||
|
||||
extern "C" { extern cl_uint gRandomSeed; };
|
||||
|
||||
#define TEST_SIZE 512
|
||||
|
||||
const char *equivTestKernelPattern_double =
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include "harness/conversions.h"
|
||||
#include "harness/typeWrappers.h"
|
||||
|
||||
extern "C" { extern cl_uint gRandomSeed;};
|
||||
|
||||
#define TEST_SIZE 512
|
||||
|
||||
const char *equivTestKernelPattern_float =
|
||||
@@ -63,7 +61,7 @@ const char *equivTestKernelPatternLessGreater_float3 =
|
||||
"}\n";
|
||||
|
||||
typedef bool (*equivVerifyFn)( float inDataA, float inDataB );
|
||||
extern "C" { extern int gInfNanSupport; };
|
||||
extern int gInfNanSupport;
|
||||
|
||||
int IsFloatInfinity(float x)
|
||||
{
|
||||
|
||||
@@ -38,8 +38,6 @@ const char *anyAllTestKernelPatternVload =
|
||||
|
||||
#define TEST_SIZE 512
|
||||
|
||||
extern "C" {extern cl_uint gRandomSeed;};
|
||||
|
||||
typedef int (*anyAllVerifyFn)( ExplicitType vecType, unsigned int vecSize, void *inData );
|
||||
|
||||
int test_any_all_kernel(cl_context context, cl_command_queue queue,
|
||||
|
||||
@@ -36,8 +36,6 @@ enum ShuffleMode
|
||||
kBuiltInDualInputFnMode
|
||||
};
|
||||
|
||||
extern "C" { extern cl_uint gRandomSeed;};
|
||||
|
||||
static const char *shuffleKernelPattern[3] = {
|
||||
"__kernel void sample_test( __global %s%s *source, __global %s%s *dest )\n"
|
||||
"{\n"
|
||||
|
||||
Reference in New Issue
Block a user