Regroup vtbl definitions to one translation unit (#1167)

Move function declarations to a new header file, with relevant existing
documentation.

Signed-off-by: Marco Antognini <marco.antognini@arm.com>
This commit is contained in:
Marco Antognini
2021-02-18 10:06:37 +00:00
committed by GitHub
parent 7181bcdbac
commit 70b2492f30
19 changed files with 234 additions and 118 deletions

View File

@@ -13,18 +13,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
#include "function_list.h"
#include "test_functions.h"
#include "utility.h"
#include <string.h>
int TestMacro_Int_Float_Float(const Func *f, MTdata, bool relaxedMode);
int TestMacro_Int_Double_Double(const Func *f, MTdata, bool relaxedMode);
extern const vtbl _macro_binary = { "macro_binary", TestMacro_Int_Float_Float,
TestMacro_Int_Double_Double };
static int BuildKernel(const char *name, int vectorSize, cl_uint kernel_count,
cl_kernel *k, cl_program *p, bool relaxedMode)
{