/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | test_functions.h | 22 int TestFunc_Float_Float(const Func *f, MTdata, bool relaxedMode); 25 int TestFunc_Double_Double(const Func *f, MTdata, bool relaxedMode); 28 int TestFunc_Int_Float(const Func *f, MTdata, bool relaxedMode); 31 int TestFunc_Int_Double(const Func *f, MTdata, bool relaxedMode); 34 int TestFunc_Float_UInt(const Func *f, MTdata, bool relaxedMode); 37 int TestFunc_Double_ULong(const Func *f, MTdata, bool relaxedMode); 41 int TestMacro_Int_Float(const Func *f, MTdata, bool relaxedMode); 45 int TestMacro_Int_Double(const Func *f, MTdata, bool relaxedMode); 48 int TestFunc_Float_Float_Float(const Func *f, MTdata, bool relaxedMode); 51 int TestFunc_Double_Double_Double(const Func *f, MTdata, bool relaxedMode); [all …]
|
D | function_list.h | 69 int (*TestFunc)(const struct Func *, MTdata, bool); 71 const struct Func *, MTdata,
|
/external/OpenCL-CTS/test_common/harness/ |
D | mt19937.h | 64 typedef struct _MTdata *MTdata; typedef 67 MTdata init_genrand(cl_uint /*seed*/); 70 void free_mtdata(MTdata /*data*/); 73 cl_uint genrand_int32(MTdata /*data*/); 76 cl_ulong genrand_int64(MTdata /*data*/); 79 double genrand_real1(MTdata /*data*/); 82 double genrand_real2(MTdata /*data*/); 85 double genrand_real3(MTdata /*data*/); 88 double genrand_res53(MTdata /*data*/); 103 MTdataHolder(MTdata mtdata): m_mtdata(mtdata) {} in MTdataHolder() [all …]
|
D | conversions.h | 76 extern void generate_random_data(ExplicitType type, size_t count, MTdata d, 78 extern void *create_random_data(ExplicitType type, MTdata d, size_t count); 84 extern float get_random_float(float low, float high, MTdata d); 85 extern double get_random_double(double low, double high, MTdata d); 86 extern float any_float(MTdata d); 87 extern double any_double(MTdata d); 89 extern int random_in_range(int minV, int maxV, MTdata d); 91 size_t get_random_size_t(size_t low, size_t high, MTdata d);
|
D | mt19937.cpp | 74 MTdata init_genrand(cl_uint s) in init_genrand() 76 MTdata r = (MTdata)align_malloc(sizeof(_MTdata), 16); in init_genrand() 99 void free_mtdata(MTdata d) in free_mtdata() 105 cl_uint genrand_int32(MTdata d) in genrand_int32() 248 cl_ulong genrand_int64(MTdata d) in genrand_int64() 254 double genrand_real1(MTdata d) in genrand_real1() 261 double genrand_real2(MTdata d) in genrand_real2() 268 double genrand_real3(MTdata d) in genrand_real3() 275 double genrand_res53(MTdata d) in genrand_res53()
|
/external/OpenCL-CTS/test_conformance/geometrics/ |
D | procs.h | 32 …ble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d); 33 …ble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d); 34 …ble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d); 35 …ble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d); 36 …ble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d);
|
D | test_geometrics_double.cpp | 154 …uble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d) in test_geom_cross_double() 295 … size_t vecSize, twoToFloatVerifyFn_double verifyFn, double ulpLimit, MTdata d ) in test_twoToFloat_kernel_double() 447 …uble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d) in test_geom_dot_double() 466 …uble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d) in test_geom_fast_distance_double() 506 …uble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d) in test_geom_distance_double() 537 … size_t vecSize, oneToFloatVerifyFn_double verifyFn, double ulpLimit, MTdata d ) in test_oneToFloat_kernel_double() 669 …uble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d) in test_geom_length_double() 712 …uble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d) in test_geom_fast_length_double() 744 … size_t vecSize, oneToOneVerifyFn_double verifyFn, double ulpLimit, MTdata d ) in test_oneToOne_kernel_double() 926 …uble(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, MTdata d) in test_geom_normalize_double()
|
/external/OpenCL-CTS/test_common/gl/ |
D | helpers.h | 266 bool allocateMem, MTdata d); 271 bool allocateMem, MTdata d); 276 bool allocateMem, MTdata d); 282 int *outError, bool allocateMem, MTdata d ); 288 int *outError, bool allocateMem, MTdata d ); 295 int *outError, MTdata d, bool allocateMem = true ); 302 int *outError, bool allocateMem, MTdata d, 310 int *outError, bool allocateMem, MTdata d, 331 int *outError, MTdata d, bool allocateMem ); 346 extern void* CreateRandomData( ExplicitType type, size_t count, MTdata d );
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_multireadimagemultifmt.cpp | 47 generate_8888_image(int w, int h, MTdata d) in generate_8888_image() 59 generate_16bit_image(int w, int h, MTdata d) in generate_16bit_image() 71 generate_float_image(int w, int h, MTdata d) in generate_float_image() 125 MTdata d; in test_mri_multiple()
|
D | test_imagereadwrite.cpp | 28 generate_rgba8_image(int w, int h, MTdata d) in generate_rgba8_image() 40 update_rgba8_image(unsigned char *p, int x, int y, int w, int h, int img_width, MTdata d) in update_rgba8_image() 96 generate_rgba16_image(int w, int h, MTdata d) in generate_rgba16_image() 108 update_rgba16_image(unsigned short *p, int x, int y, int w, int h, int img_width, MTdata d) in update_rgba16_image() 144 generate_rgbafp_image(int w, int h, MTdata d) in generate_rgbafp_image() 156 update_rgbafp_image(float *p, int x, int y, int w, int h, int img_width, MTdata d) in update_rgbafp_image() 203 MTdata d; in test_imagereadwrite()
|
D | test_imagecopy.cpp | 28 generate_rgba8_image(int w, int h, MTdata d) in generate_rgba8_image() 55 generate_rgba16_image(int w, int h, MTdata d) in generate_rgba16_image() 82 generate_rgbafp_image(int w, int h, MTdata d) in generate_rgbafp_image() 119 MTdata d; in test_imagecopy()
|
D | test_imagecopy3d.cpp | 28 generate_uint8_image(unsigned num_elements, MTdata d) in generate_uint8_image() 55 generate_uint16_image(unsigned num_elements, MTdata d) in generate_uint16_image() 82 generate_float_image(unsigned num_elements, MTdata d) in generate_float_image() 122 MTdata d; in test_imagecopy3d()
|
D | test_imagereadwrite3d.cpp | 28 generate_rgba8_image(int w, int h, int d, MTdata mtData) in generate_rgba8_image() 40 … x, int y, int z, int w, int h, int d, int img_width, int img_height, int img_depth, MTdata mtData) in update_rgba8_image() 100 generate_rgba16_image(int w, int h, int d, MTdata mtData) in generate_rgba16_image() 112 … x, int y, int z, int w, int h, int d, int img_width, int img_height, int img_depth, MTdata mtData) in update_rgba16_image() 150 generate_rgbafp_image(int w, int h, int d, MTdata mtData) in generate_rgbafp_image() 162 … x, int y, int z, int w, int h, int d, int img_width, int img_height, int img_depth, MTdata mtData) in update_rgbafp_image() 213 MTdata mtData; in test_imagereadwrite3d()
|
D | test_imagerandomcopy.cpp | 28 generate_rgba8_image(int w, int h, MTdata d) in generate_rgba8_image() 58 generate_rgba16_image(int w, int h, MTdata d) in generate_rgba16_image() 88 generate_rgbafp_image(int w, int h, MTdata d) in generate_rgbafp_image() 132 MTdata d; in test_imagerandomcopy()
|
D | test_hostptr.cpp | 53 static void make_random_data(unsigned count, float *ptr, MTdata d) in make_random_data() 61 generate_rgba8_image(int w, int h, MTdata d) in generate_rgba8_image() 73 randomize_rgba8_image(unsigned char *ptr, int w, int h, MTdata d) in randomize_rgba8_image() 110 MTdata d; in test_hostptr()
|
D | test_readimage_fp32.cpp | 47 generate_float_image(int w, int h, MTdata d) in generate_float_image() 90 MTdata d; in test_readimage_fp32()
|
D | test_readimage3d_fp32.cpp | 48 generate_float_image(int w, int h, int d, MTdata data) in generate_float_image() 96 MTdata d = init_genrand( gRandomSeed ); in test_readimage3d_fp32()
|
D | test_readimage3d_int16.cpp | 48 generate_16bit_image(int w, int h, int d, MTdata data) in generate_16bit_image() 95 MTdata d = init_genrand( gRandomSeed ); in test_readimage3d_int16()
|
D | test_readimage_int16.cpp | 47 generate_16bit_image(int w, int h, MTdata d) in generate_16bit_image() 89 MTdata d; in test_readimage_int16()
|
D | test_image_r8.cpp | 42 generate_8bit_image(int w, int h, MTdata d) in generate_8bit_image() 83 MTdata d; in test_image_r8()
|
/external/OpenCL-CTS/test_conformance/profiling/ |
D | writeArray.cpp | 612 …tr[5], const char *kernelCode[], const char *kernelName[], int (*fn)(void *,void *,int), MTdata d ) in test_stream_write() 830 MTdata d = init_genrand( gRandomSeed ); in test_write_array_int() 866 MTdata d = init_genrand( gRandomSeed ); in test_write_array_uint() 901 MTdata d = init_genrand( gRandomSeed ); in test_write_array_short() 936 MTdata d = init_genrand( gRandomSeed ); in test_write_array_ushort() 971 MTdata d = init_genrand( gRandomSeed ); in test_write_array_char() 1006 MTdata d = init_genrand( gRandomSeed ); in test_write_array_uchar() 1041 MTdata d = init_genrand( gRandomSeed ); in test_write_array_float() 1076 MTdata d = init_genrand( gRandomSeed ); in test_write_array_half() 1111 MTdata d = init_genrand( gRandomSeed ); in test_write_array_long() [all …]
|
D | copy.cpp | 86 static cl_uchar *generate_image( int n, MTdata d ) in generate_image() 98 …size( cl_device_id device, cl_context context, cl_command_queue queue, int num_elements, MTdata d ) in copy_size() 243 … cl_command_queue queue, int num_elements, cl_uint srcStart, cl_uint dstStart, int size, MTdata d ) in copy_partial_size() 388 MTdata d = init_genrand( gRandomSeed ); in test_copy_array() 413 MTdata d = init_genrand( gRandomSeed ); in test_copy_partial_array() 432 MTdata d ) in copy_image_size() 689 MTdata d; in test_copy_image() 770 MTdata d; in test_copy_array_to_image()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_write.cpp | 625 …tr[5], const char *kernelCode[], const char *kernelName[], int (*fn)(void *,void *,int), MTdata d ) in test_buffer_write() 808 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_struct() 1108 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_int() 1146 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_uint() 1185 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_short() 1225 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_ushort() 1265 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_char() 1305 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_uchar() 1345 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_float() 1385 MTdata d = init_genrand( gRandomSeed ); in test_buffer_write_half() [all …]
|
D | test_buffer_copy.cpp | 41 static int test_copy( cl_command_queue queue, cl_context context, int num_elements, MTdata d ) in test_copy() 140 …eue, cl_context context, int num_elements, cl_uint srcStart, cl_uint dstStart, int size, MTdata d ) in testPartialCopy() 252 MTdata d = init_genrand( gRandomSeed ); in test_buffer_copy() 279 MTdata d = init_genrand( gRandomSeed ); in test_buffer_partial_copy()
|
/external/OpenCL-CTS/test_common/gles/ |
D | helpers.h | 190 int *outError, bool allocateMem, MTdata d ); 197 int *outError, MTdata d, bool allocateMem = true ); 211 int *outError, MTdata d, bool allocateMem ); 233 extern void* CreateRandomData( ExplicitType type, size_t count, MTdata d );
|