Home
last modified time | relevance | path

Searched refs:refValues (Results 1 – 6 of 6) sorted by relevance

/external/OpenCL-CTS/test_conformance/atomics/
Dtest_atomics.cpp67 bool (*VerifyRefsIntFn)( size_t size, cl_int *refValues, cl_int finalValue );
72 bool (*VerifyRefsLongFn)( size_t size, cl_long *refValues, cl_long finalValue );
77 bool (*VerifyRefsFloatFn)( size_t size, cl_float *refValues, cl_float finalValue );
127 void *refValues, *startRefValues; in test_atomic_function() local
215 refValues = (cl_int *)malloc( typeSize * threadSize ); in test_atomic_function()
287 …error = clEnqueueReadBuffer( queue, streams[1], true, 0, typeSize * threadSize, refValues, 0, NULL… in test_atomic_function()
319 cl_int *refs = (cl_int *)refValues; in test_atomic_function()
333 cl_long *refs = (cl_long *)refValues; in test_atomic_function()
353 if( !testFns.VerifyRefsFloatFn( threadSize, (cl_float *)refValues, *outValue ) != 0 ) in test_atomic_function()
362 if( !testFns.VerifyRefsIntFn( threadSize, (cl_int *)refValues, *outValue ) != 0 ) in test_atomic_function()
[all …]
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.h168 …virtual bool VerifyRefs(bool &correct, cl_uint threadCount, HostDataType *refValues, HostAtomicTyp… in VerifyRefs() argument
930 std::vector<HostDataType> refValues, startRefValues; in ExecuteSingleTest() local
1049 refValues.resize(threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1057 …memcpy(&refValues[0], &startRefValues[0], sizeof(HostDataType)*threadCount*NumNonAtomicVariablesPe… in ExecuteSingleTest()
1164 hostThreadContexts[t].oldValues = UseSVM() ? svmDataBuffer : &refValues[0]; in ExecuteSingleTest()
1188 memcpy(&refValues[0], svmDataBuffer, typeSize*threadCount*NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1196 …RUE, 0, typeSize * deviceThreadCount*NumNonAtomicVariablesPerThread(), &refValues[0], 0, NULL, NUL… in ExecuteSingleTest()
1220 logLine << startRefValues[i] << " -> " << refValues[i]; in ExecuteSingleTest()
1222 logLine << refValues[i]; in ExecuteSingleTest()
1241 if(VerifyRefs(dataCorrect, threadCount, &refValues[0], &destItems[0])) in ExecuteSingleTest()
[all …]
Dtest_atomics.cpp256 …virtual bool VerifyRefs(bool &correct, cl_uint threadCount, HostDataType *refValues, HostAtomicTyp… in VerifyRefs() argument
261 if(refValues[i] != (HostDataType)i) in VerifyRefs()
352 …virtual bool VerifyRefs(bool &correct, cl_uint threadCount, HostDataType *refValues, HostAtomicTyp… in VerifyRefs() argument
369 value = (cl_uint)refValues[i]; in VerifyRefs()
536 …virtual bool VerifyRefs(bool &correct, cl_uint threadCount, HostDataType *refValues, HostAtomicTyp… in VerifyRefs() argument
552 value = (cl_uint)refValues[i]; in VerifyRefs()
1224 …virtual bool VerifyRefs(bool &correct, cl_uint threadCount, HostDataType *refValues, HostAtomicTyp… in VerifyRefs() argument
1229 if(refValues[i] > 0) in VerifyRefs()
1231 log_error("Thread %d found %d mismatch(es)\n", i, (cl_uint)refValues[i]); in VerifyRefs()
1346 …virtual bool VerifyRefs(bool &correct, cl_uint threadCount, HostDataType *refValues, HostAtomicTyp… in VerifyRefs() argument
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureLevelStateQueryTests.cpp220 …apper& gl, glw::GLenum target, int level, glw::GLenum pname, const int* refValues, int numRefValue… in verifyTextureLevelParameterInternalFormatAnyOf() argument
234 msg << glu::getTextureFormatStr(refValues[ndx]); in verifyTextureLevelParameterInternalFormatAnyOf()
250 if (state.getIntAccess() == refValues[ndx]) in verifyTextureLevelParameterInternalFormatAnyOf()
259 if (state.getFloatAccess() == (float)refValues[ndx]) in verifyTextureLevelParameterInternalFormatAnyOf()
/external/deqp/modules/egl/
DteglRobustnessTests.cpp1341 const std::vector<tcu::Vec4> refValues(s_numBindings, tcu::Vec4(0.0f, 1.0f, 1.0f, 1.0f)); in setup() local
1349 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(tcu::Vec4), &(refValues[0]), … in setup()
1364 …GLU_CHECK_GLW_CALL(m_gl, bufferData(resType, sizeof(tcu::Vec4), &(refValues[bufNdx]), GL_STATIC_DR… in setup()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp2527 std::vector<float> refValues (floatsPerDispatch); in verifyOutput() local
2529 deMemcpy(refValues.data(), &ref[refIdx], blockSize); in verifyOutput()
2535 msg << ((i == 0) ? "[" : ", ") << refValues[i]; in verifyOutput()