mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
* Fix test_subgroups - test as core feature. * Fix kernels pragma in case of OpenCL 2.1 core subgroups * Change global variable names to gVariable convention * Allow subgroups tests execute 2 paths - as core feature - as extension feature * Fix code formatting. * Set correct OpenCL version * Fix code format * test_subgroups review fixes: * do not use global variables * make IFP as separate tests * use stringstream data type * use special class to load function pointer for specific API * Remove not not used variable * Test subgroups - use common enums * Test subgroups - set TEST_SKIPPED_ITSELF
61 lines
2.9 KiB
C
61 lines
2.9 KiB
C
//
|
|
// Copyright (c) 2017 The Khronos Group Inc.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
#ifndef _procs_h
|
|
#define _procs_h
|
|
|
|
#include "harness/testHarness.h"
|
|
#include "harness/kernelHelpers.h"
|
|
#include "harness/errorHelpers.h"
|
|
#include "harness/conversions.h"
|
|
#include "harness/threadTesting.h"
|
|
#include "harness/typeWrappers.h"
|
|
#include "harness/mt19937.h"
|
|
|
|
extern MTdata gMTdata;
|
|
|
|
extern int test_sub_group_info_ext(cl_device_id device, cl_context context,
|
|
cl_command_queue queue, int num_elements);
|
|
extern int test_sub_group_info_core(cl_device_id device, cl_context context,
|
|
cl_command_queue queue, int num_elements);
|
|
extern int test_work_item_functions_ext(cl_device_id device, cl_context context,
|
|
cl_command_queue queue,
|
|
int num_elements);
|
|
extern int test_work_item_functions_core(cl_device_id device,
|
|
cl_context context,
|
|
cl_command_queue queue,
|
|
int num_elements);
|
|
extern int test_work_group_functions_ext(cl_device_id device,
|
|
cl_context context,
|
|
cl_command_queue queue,
|
|
int num_elements);
|
|
extern int test_work_group_functions_core(cl_device_id device,
|
|
cl_context context,
|
|
cl_command_queue queue,
|
|
int num_elements);
|
|
extern int test_barrier_functions_ext(cl_device_id device, cl_context context,
|
|
cl_command_queue queue, int num_elements);
|
|
extern int test_barrier_functions_core(cl_device_id device, cl_context context,
|
|
cl_command_queue queue,
|
|
int num_elements);
|
|
extern int test_pipe_functions(cl_device_id device, cl_context context,
|
|
cl_command_queue queue, int num_elements);
|
|
extern int test_ifp_ext(cl_device_id device, cl_context context,
|
|
cl_command_queue queue, int num_elements);
|
|
extern int test_ifp_core(cl_device_id device, cl_context context,
|
|
cl_command_queue queue, int num_elements);
|
|
|
|
#endif /*_procs_h*/
|