mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] Remove duplicate symbol declarations (#1671)
* [NFC] Remove duplicate symbol declarations Those are provided by testHarness.h. Signed-off-by: Kévin Petit <kpet@free.fr> * add missing include --------- Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
committed by
paulfradgley
parent
9409f2b94b
commit
1f70f04517
@@ -20,8 +20,6 @@
|
|||||||
#include "harness/conversions.h"
|
#include "harness/conversions.h"
|
||||||
#include "harness/rounding_mode.h"
|
#include "harness/rounding_mode.h"
|
||||||
|
|
||||||
extern void memset_pattern4(void *dest, const void *src_pattern, size_t bytes );
|
|
||||||
|
|
||||||
extern int test_hostptr(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
extern int test_hostptr(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||||
extern int test_fpmath_float(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
extern int test_fpmath_float(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||||
extern int test_fpmath_float2(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
extern int test_fpmath_float2(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements);
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
//
|
||||||
|
#include "harness/testHarness.h"
|
||||||
#include "harness/compat.h"
|
#include "harness/compat.h"
|
||||||
|
|
||||||
#include "basic_test_conversions.h"
|
#include "basic_test_conversions.h"
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ extern const char *gRoundingModeNames[ kRoundingModeCount ]; // { "", "_r
|
|||||||
extern const char *gSaturationNames[ kSaturationModeCount ]; // { "", "_sat" }
|
extern const char *gSaturationNames[ kSaturationModeCount ]; // { "", "_sat" }
|
||||||
extern const char *gVectorSizeNames[kVectorSizeCount]; // { "", "2", "4", "8", "16" }
|
extern const char *gVectorSizeNames[kVectorSizeCount]; // { "", "2", "4", "8", "16" }
|
||||||
extern size_t gTypeSizes[ kTypeCount ];
|
extern size_t gTypeSizes[ kTypeCount ];
|
||||||
extern int gIsEmbedded;
|
|
||||||
|
|
||||||
//Functions for clamping floating point numbers into the representable range for the type
|
//Functions for clamping floating point numbers into the representable range for the type
|
||||||
typedef float (*clampf)( float );
|
typedef float (*clampf)( float );
|
||||||
|
|||||||
@@ -799,10 +799,6 @@ static int RunKernel(cl_kernel kernel, void *inBuf, void *outBuf,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(__APPLE__)
|
|
||||||
void memset_pattern4(void *dest, const void *src_pattern, size_t bytes);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
#include <mach/mach_time.h>
|
#include <mach/mach_time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -61,8 +61,6 @@ extern int gFastRelaxedDerived;
|
|||||||
extern int gWimpyMode;
|
extern int gWimpyMode;
|
||||||
extern int gHostFill;
|
extern int gHostFill;
|
||||||
extern int gIsInRTZMode;
|
extern int gIsInRTZMode;
|
||||||
extern int gInfNanSupport;
|
|
||||||
extern int gIsEmbedded;
|
|
||||||
extern int gVerboseBruteForce;
|
extern int gVerboseBruteForce;
|
||||||
extern uint32_t gMaxVectorSizeIndex;
|
extern uint32_t gMaxVectorSizeIndex;
|
||||||
extern uint32_t gMinVectorSizeIndex;
|
extern uint32_t gMinVectorSizeIndex;
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ const char *equivTestKernelPatternLessGreater_float3 =
|
|||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
typedef bool (*equivVerifyFn)( float inDataA, float inDataB );
|
typedef bool (*equivVerifyFn)( float inDataA, float inDataB );
|
||||||
extern int gInfNanSupport;
|
|
||||||
|
|
||||||
int IsFloatInfinity(float x)
|
int IsFloatInfinity(float x)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user