Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/basic/
Dtest_loop.cpp74 cl_int *input_ptr, *loop_indx, *loop_cnt, *output_ptr; in test_loop() local
82 loop_indx = (cl_int*)malloc(length); in test_loop()
115 loop_indx[i] = (int)get_random_float(0, num_elements-1, d); in test_loop()
126 err = clEnqueueWriteBuffer(queue, streams[1], CL_TRUE, 0, length, loop_indx, 0, NULL, NULL); in test_loop()
168 err = verify_loop(input_ptr, loop_indx, loop_cnt, output_ptr, num_elements); in test_loop()
178 free(loop_indx); in test_loop()