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:
@@ -24,8 +24,6 @@
|
||||
#include <CL/cl_gl.h>
|
||||
#endif
|
||||
|
||||
extern "C" { extern cl_uint gRandomSeed; };
|
||||
|
||||
static const char *bufferKernelPattern =
|
||||
"__kernel void sample_test( __global %s%s *source, __global %s%s *clDest, __global %s%s *glDest )\n"
|
||||
"{\n"
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
|
||||
#include "gl_headers.h"
|
||||
|
||||
extern "C" { extern cl_uint gRandomSeed; }
|
||||
|
||||
static const char *imageReadKernelPattern =
|
||||
"#pragma OPENCL EXTENSION cl_khr_fp16 : enable\n" /* added support for half floats */
|
||||
"__kernel void sample_test( read_only image2d_t source, sampler_t sampler, __global %s4 *results )\n"
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
|
||||
#include "gl_headers.h"
|
||||
|
||||
extern "C" {extern cl_uint gRandomSeed;};
|
||||
|
||||
static int test_image_read( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glTexture,
|
||||
size_t imageWidth, size_t imageHeight, cl_image_format *outFormat,
|
||||
ExplicitType *outType, void **outResultBuffer )
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
|
||||
#include "gl_headers.h"
|
||||
|
||||
extern "C" { extern cl_uint gRandomSeed; };
|
||||
|
||||
static const char *imageReadKernelPattern =
|
||||
"__kernel void sample_test( read_only image3d_t source, sampler_t sampler, __global %s4 *results )\n"
|
||||
"{\n"
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include "gl_headers.h"
|
||||
#include "testBase.h"
|
||||
|
||||
extern "C" {extern cl_uint gRandomSeed;};
|
||||
|
||||
static int test_image_read( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glTexture,
|
||||
size_t imageWidth, size_t imageHeight, size_t imageDepth, cl_image_format *outFormat, ExplicitType *outType, void **outResultBuffer )
|
||||
{
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
|
||||
#include "gl_headers.h"
|
||||
|
||||
extern "C" { extern cl_uint gRandomSeed; };
|
||||
|
||||
extern int test_cl_image_write( cl_context context, cl_command_queue queue, cl_mem clImage,
|
||||
size_t imageWidth, size_t imageHeight, cl_image_format *outFormat,
|
||||
ExplicitType *outType, void **outSourceBuffer, MTdata d );
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include "gl_headers.h"
|
||||
#include "testBase.h"
|
||||
|
||||
extern "C" {extern cl_uint gRandomSeed;};
|
||||
|
||||
static int test_renderbuffer_object_info( cl_context context, cl_command_queue queue,
|
||||
GLsizei width, GLsizei height, GLenum attachment,
|
||||
GLenum rbFormat, GLenum rbType,
|
||||
|
||||
Reference in New Issue
Block a user