Lines Matching refs:cnDimension
1609 static void initBuffer(float* & srcBuffer, unsigned int cnDimension) in initBuffer() argument
1613 for( unsigned int i = 0; i < cnDimension; i++ ) in initBuffer()
1628 const size_t cnDimension = 32; in verifyCopyBuffer() local
1631 float * srcBuffer = (float*)malloc(cnDimension * sizeof(float)); in verifyCopyBuffer()
1632 float * dstBuffer = (float*)malloc(cnDimension * sizeof(float)); in verifyCopyBuffer()
1635 …able to allocate srcBuffer float array with %lu floats! (in %s:%d)\n", cnDimension, __FILE__, __LI… in verifyCopyBuffer()
1639 …able to allocate dstBuffer float array with %lu floats! (in %s:%d)\n", cnDimension, __FILE__, __LI… in verifyCopyBuffer()
1646 initBuffer(srcBuffer, cnDimension ); in verifyCopyBuffer()
1650 cnDimension * sizeof( cl_float ), srcBuffer, &error); in verifyCopyBuffer()
1654 cnDimension * sizeof( cl_float ), 0, &error); in verifyCopyBuffer()
1668 &cnDimension, 0, 0, NULL, NULL ); in verifyCopyBuffer()
1675 … error = clEnqueueReadBuffer(queue, deviceMemDst, CL_TRUE, 0, cnDimension * sizeof( cl_float ), in verifyCopyBuffer()
1687 for( size_t i = 0; i < cnDimension; i++ ) in verifyCopyBuffer()