Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/atomics/
Dtest_atomics.cpp65 cl_int (*ExpectedValueIntFn)( size_t size, cl_int *startRefValues, size_t whichDestValue );
66 void (*GenerateRefsIntFn)( size_t size, cl_int *startRefValues, MTdata d );
70 … cl_long (*ExpectedValueLongFn)( size_t size, cl_long *startRefValues, size_t whichDestValue );
71 void (*GenerateRefsLongFn)( size_t size, cl_long *startRefValues, MTdata d );
75 …cl_float (*ExpectedValueFloatFn)( size_t size, cl_float *startRefValues, size_t whichDestValue …
76 void (*GenerateRefsFloatFn)( size_t size, cl_float *startRefValues, MTdata d );
127 void *refValues, *startRefValues; in test_atomic_function() local
221 startRefValues = malloc( typeSize * threadSize ); in test_atomic_function()
223 testFns.GenerateRefsIntFn( threadSize, (cl_int *)startRefValues, d ); in test_atomic_function()
225 testFns.GenerateRefsLongFn( threadSize, (cl_long *)startRefValues, d ); in test_atomic_function()
[all …]
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.h160 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
164 virtual bool GenerateRefs(cl_uint threadCount, HostDataType *startRefValues, MTdata d) in GenerateRefs() argument
930 std::vector<HostDataType> refValues, startRefValues; in ExecuteSingleTest() local
1053 startRefValues.resize(threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1054 if(GenerateRefs(threadCount, &startRefValues[0], d)) in ExecuteSingleTest()
1057 …memcpy(&refValues[0], &startRefValues[0], sizeof(HostDataType)*threadCount*NumNonAtomicVariablesPe… in ExecuteSingleTest()
1061 startRefValues.resize(0); in ExecuteSingleTest()
1113 if(startRefValues.size()) in ExecuteSingleTest()
1114 … memcpy(svmDataBuffer, &startRefValues[0], typeSize*threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1124 ((startRefValues.size() ? CL_MEM_COPY_HOST_PTR : CL_MEM_READ_WRITE)), in ExecuteSingleTest()
[all …]
Dtest_atomics.cpp65 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
144 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
251 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
743 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
820 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
912 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
1004 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
1100 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
1219 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
1341 …ctedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValues, cl_uint which… in ExpectedValue() argument
[all …]