Home
last modified time | relevance | path

Searched refs:int_input_ptr (Results 1 – 2 of 2) sorted by relevance

/external/OpenCL-CTS/test_conformance/buffers/
Dtest_buffer_copy.cpp44 cl_int *int_input_ptr, *int_output_ptr; in test_copy() local
52 int_input_ptr = (cl_int*) align_malloc(sizeof(cl_int) * num_elements, min_alignment); in test_copy()
60 int_input_ptr[i] = (int)genrand_int32( d ); in test_copy()
65 …lCreateBuffer(context, flag_set[src_flag_id], sizeof(cl_int) * num_elements, int_input_ptr, &err); in test_copy()
70 align_free( (void *)int_input_ptr ); in test_copy()
82 align_free( (void *)int_input_ptr ); in test_copy()
88 …r(queue, buffers[0], CL_TRUE, 0, sizeof(cl_int)*num_elements, (void *)int_input_ptr, 0, NULL, NULL… in test_copy()
94 align_free( (void *)int_input_ptr ); in test_copy()
105 align_free( (void *)int_input_ptr ); in test_copy()
115 align_free( (void *)int_input_ptr ); in test_copy()
[all …]
/external/OpenCL-CTS/test_conformance/profiling/
Dcopy.cpp103 cl_int *int_input_ptr, *int_output_ptr; in copy_size() local
107 int_input_ptr = (cl_int*)malloc(sizeof(cl_int) * num_elements); in copy_size()
124 int_input_ptr[i] = (int)genrand_int32(d); in copy_size()
128 …fer( queue, streams[0], true, 0, sizeof(cl_int)*num_elements, (void *)int_input_ptr, 0, NULL, NULL… in copy_size()
134 free( (void *)int_input_ptr ); in copy_size()
144 free( (void *)int_input_ptr ); in copy_size()
157 free( (void *)int_input_ptr ); in copy_size()
170 free( (void *)int_input_ptr ); in copy_size()
182 free( (void *)int_input_ptr ); in copy_size()
193 free( (void *)int_input_ptr ); in copy_size()
[all …]