mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +00:00
* test_common: Replace cl_ushort with cl_half (#885) Change-Id: I507eca2084629c3b6f3e7331f062f006edbce434 Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com> * buffers, pipes, profiling: Replace cl_ushort with cl_half (#885) Change-Id: Id9799322b636af6aa0eec3d4e846d7af8c7f9602 Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com> * images/kernel_read_write: Replace cl_ushort with cl_half (#885) Change-Id: I922ddb593b6e5631d0f4ea1522c7f75f8770be40 Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com> * half: Replace cl_ushort with cl_half (#885) Change-Id: I484a5bb2b33a7e87805fc6079953c66e5f8d9239 Signed-off-by: Chetankumar Mistry <chetan.mistry@arm.com>
This commit is contained in:
@@ -554,8 +554,8 @@ static int verify_write_float( void *ptr1, void *ptr2, int n )
|
||||
static int verify_write_half( void *ptr1, void *ptr2, int n )
|
||||
{
|
||||
int i;
|
||||
cl_ushort *inptr = (cl_ushort *)ptr1;
|
||||
cl_ushort *outptr = (cl_ushort *)ptr2;
|
||||
cl_half *inptr = (cl_half *)ptr1;
|
||||
cl_half *outptr = (cl_half *)ptr2;
|
||||
|
||||
for ( i = 0; i < n; i++ ){
|
||||
if ( outptr[i] != inptr[i] )
|
||||
|
||||
Reference in New Issue
Block a user