project tests refactoring
This commit is contained in:
18
tests/opencl/stencil/file.h
Normal file
18
tests/opencl/stencil/file.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/***************************************************************************
|
||||
*cr
|
||||
*cr (C) Copyright 2007 The Board of Trustees of the
|
||||
*cr University of Illinois
|
||||
*cr All Rights Reserved
|
||||
*cr
|
||||
***************************************************************************/
|
||||
#ifndef __FILEH__
|
||||
#define __FILEH__
|
||||
|
||||
void inputData(char* fName, int* len, int* depth, int* dim,int *nzcnt_len,int *pad,
|
||||
float** h_data, int** h_indices, int** h_ptr,
|
||||
int** h_perm, int** h_nzcnt);
|
||||
|
||||
void input_vec(char* fNanme, float *h_vec,int dim);
|
||||
void outputData(char* fName, float *h_Ax_vector,int dim);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user