mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 06:49:02 +00:00
Remove unused code in kernel_image_methods (#1048)
These declarations either aren't used or aren't needed, as testBase.h already declares them. Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
@@ -13,23 +13,16 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
#include "../harness/compat.h"
|
||||
#include "../harness/parseParameters.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#include "../testBase.h"
|
||||
#include "../harness/compat.h"
|
||||
#include "../harness/parseParameters.h"
|
||||
|
||||
bool gDebugTrace;
|
||||
bool gTestSmallImages;
|
||||
bool gTestMaxImages;
|
||||
int gTypesToTest;
|
||||
bool gDeviceLt20 = false;
|
||||
|
||||
cl_channel_type gChannelTypeToUse = (cl_channel_type)-1;
|
||||
@@ -39,8 +32,6 @@ extern int test_image_set( cl_device_id device, cl_context context, cl_command_q
|
||||
|
||||
static void printUsage( const char *execName );
|
||||
|
||||
#define MAX_ALLOWED_STD_DEVIATION_IN_MB 8.0
|
||||
|
||||
int test_1D(cl_device_id device, cl_context context, cl_command_queue queue, int num_elements)
|
||||
{
|
||||
return test_image_set( device, context, queue, CL_MEM_OBJECT_IMAGE1D );
|
||||
|
||||
Reference in New Issue
Block a user