MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CTS / verify_copy_array

Function verify_copy_array

test_conformance/profiling/copy.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71
72static int verify_copy_array( int *inptr, int *outptr, int n )
73{
74 int i;
75
76 for( i = 0; i < n; i++ ) {
77 if( outptr[i] != inptr[i] )
78 return -1;
79 }
80
81 return 0;
82}
83
84
85//----- helper functions

Callers 2

copy_sizeFunction · 0.85
copy_partial_sizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected