Lines Matching full:threadcount
132 cl_uint threadCount; member
142 threadContext->tid, threadContext->threadCount, in HostThreadFunction()
160 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument
165 virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, in ExpectedValue() argument
171 virtual bool GenerateRefs(cl_uint threadCount, HostDataType *startRefValues, in GenerateRefs() argument
176 virtual bool VerifyRefs(bool &correct, cl_uint threadCount, in VerifyRefs() argument
299 virtual void HostFunction(cl_uint tid, cl_uint threadCount, in HostFunction() argument
435 virtual cl_uint CurrentGroupNum(cl_uint threadCount) in CurrentGroupNum() argument
437 if (threadCount == 0) return 0; in CurrentGroupNum()
439 return threadCount / CurrentGroupSize(); in CurrentGroupNum()
625 virtual cl_uint CurrentGroupNum(cl_uint threadCount) in CurrentGroupNum() argument
629 threadCount); in CurrentGroupNum()
899 std::string code = "void test_atomic_function(uint tid, uint threadCount, " in FunctionCode()
922 std::string code = "__kernel void test_atomic_kernel(uint threadCount, " in KernelCode()
1010 code += std::string(" test_atomic_function(tid, threadCount, " in KernelCode()
1105 cl_uint deviceThreadCount, hostThreadCount, threadCount; in ExecuteSingleTest() local
1114 threadCount = deviceThreadCount + hostThreadCount; in ExecuteSingleTest()
1151 threadCount = deviceThreadCount + hostThreadCount; in ExecuteSingleTest()
1158 cl_uint numDestItems = NumResults(threadCount, deviceID); in ExecuteSingleTest()
1226 threadCount = deviceThreadCount + hostThreadCount; in ExecuteSingleTest()
1239 refValues.resize(threadCount * NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1243 startRefValues.resize(threadCount * NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1244 if (GenerateRefs(threadCount, &startRefValues[0], d)) in ExecuteSingleTest()
1248 sizeof(HostDataType) * threadCount in ExecuteSingleTest()
1261 numDestItems = NumResults(threadCount, deviceID); in ExecuteSingleTest()
1302 typeSize * threadCount * NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1309 typeSize * threadCount * NumNonAtomicVariablesPerThread(), 0); in ExecuteSingleTest()
1317 typeSize * threadCount * NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1319 typeSize * threadCount in ExecuteSingleTest()
1329 typeSize * threadCount * NumNonAtomicVariablesPerThread(), in ExecuteSingleTest()
1342 clSetKernelArg(kernel, argInd++, sizeof(threadCount), &threadCount); in ExecuteSingleTest()
1377 hostThreadContexts[t].threadCount = threadCount; in ExecuteSingleTest()
1408 typeSize * threadCount * NumNonAtomicVariablesPerThread()); in ExecuteSingleTest()
1433 if (!ExpectedValue(expected, threadCount, in ExecuteSingleTest()
1444 for (i = 0; i < threadCount; i++) in ExecuteSingleTest()
1469 if (VerifyRefs(dataCorrect, threadCount, &refValues[0], &destItems[0])) in ExecuteSingleTest()
1475 for (cl_uint i = 0; i < threadCount; i++) in ExecuteSingleTest()