Searched refs:ELEMENT_NUM (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_pragma_unroll.cpp | 252 const size_t ELEMENT_NUM = 100; in test_pragma_unroll() local 270 …clMemWrapper buffer = clCreateBuffer(context, CL_MEM_READ_WRITE, ELEMENT_NUM * sizeof(cl_uint), NU… in test_pragma_unroll() 281 std::vector<cl_uint> results(ELEMENT_NUM, 0); in test_pragma_unroll() 282 …error = clEnqueueReadBuffer(queue, buffer, CL_TRUE, 0, ELEMENT_NUM * sizeof(cl_uint), &results[0],… in test_pragma_unroll() 285 for (size_t i = 0; i < ELEMENT_NUM; ++i) { in test_pragma_unroll()
|