Home
last modified time | relevance | path

Searched refs:workGroupSize (Results 1 – 15 of 15) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp68 …me, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize);
96 …ame, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize) in ShaderAtomicOpCase() argument
102 , m_workGroupSize (workGroupSize) in ShaderAtomicOpCase()
279 const int workGroupSize = (int)product(m_workGroupSize); in verify() local
280 const int numWorkGroups = numValues/workGroupSize; in verify()
284 const int groupOffset = groupNdx*workGroupSize; in verify()
290 for (int localNdx = 0; localNdx < workGroupSize; localNdx++) in verify()
302 for (int localNdx = 0; localNdx < workGroupSize; localNdx++) in verify()
432 const int workGroupSize = (int)product(m_workGroupSize); in verify() local
433 const int numWorkGroups = numValues/workGroupSize; in verify()
[all …]
Des31fComputeShaderBuiltinVarTests.cpp85 …virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const U…
305 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
308 DE_UNREF(workGroupSize); in computeReference()
332 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
337 return workGroupSize; in computeReference()
355 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
358 DE_UNREF(workGroupSize); in computeReference()
381 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
384 DE_UNREF(workGroupSize); in computeReference()
406 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
[all …]
Des31fIndirectComputeDispatchTests.cpp87 glu::ProgramSources genVerifySources (const UVec3& workGroupSize) in genVerifySources() argument
105 args["LOCAL_SIZE_X"] = de::toString(workGroupSize.x()); in genVerifySources()
106 args["LOCAL_SIZE_Y"] = de::toString(workGroupSize.y()); in genVerifySources()
107 args["LOCAL_SIZE_Z"] = de::toString(workGroupSize.z()); in genVerifySources()
284 deUint32 computeInvocationCount (const UVec3& workGroupSize, const UVec3& numWorkGroups) in computeInvocationCount() argument
286 const int numInvocationsPerGroup = workGroupSize[0]*workGroupSize[1]*workGroupSize[2]; in computeInvocationCount()
395 …uffer genBuffer, deUintptr bufferSize, deUintptr offset, const UVec3& workGroupSize, const UVec3& … in SingleDispatchCase() argument
399 m_workGroupSize = workGroupSize; in SingleDispatchCase()
469 UVec3 workGroupSize; in init() member
496 s_singleDispatchCases[ndx].workGroupSize, in init()
Des31fShaderSharedVarTests.cpp74 …ntext, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize);
92 … getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) in getBasicCaseDescription() argument
97 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize; in getBasicCaseDescription()
101 …ontext, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) in SharedBasicVarCase() argument
102 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()) in SharedBasicVarCase()
105 , m_workGroupSize (workGroupSize) in SharedBasicVarCase()
375 const tcu::UVec3 workGroupSize (2,1,3); in init() local
376 …ontext, getDataTypeName(DataType(basicType)), DataType(basicType), PRECISION_LAST, workGroupSize)); in init()
382 const tcu::UVec3 workGroupSize (2,1,3); in init() local
385 …edBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), workGroupSize)); in init()
Des31fBasicComputeShaderTests.cpp609 const int workGroupSize = m_localSize[0]*m_localSize[1]*m_localSize[2]; in iterate() local
611 const int numValues = workGroupSize*workGroupCount; in iterate()
621 << "shared uint offsets[" << workGroupSize << "];\n\n" in iterate()
672 for (int localOffs = 0; localOffs < workGroupSize; localOffs++) in iterate()
674 const int globalOffs = groupNdx*workGroupSize; in iterate()
676 … int offs0 = localOffs-1 < 0 ? ((localOffs+workGroupSize-1)%workGroupSize) : ((localOffs-1)%work… in iterate()
677 … int offs1 = localOffs-2 < 0 ? ((localOffs+workGroupSize-2)%workGroupSize) : ((localOffs-2)%work… in iterate()
832 const int workGroupSize = m_localSize[0]*m_localSize[1]*m_localSize[2]; in iterate() local
834 const int numValues = workGroupSize*workGroupCount; in iterate()
844 << "shared uint offsets[" << workGroupSize << "];\n\n" in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp157 …virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const U…
264 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
267 DE_UNREF(workGroupSize); in computeReference()
291 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
296 return workGroupSize; in computeReference()
315 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
318 DE_UNREF(workGroupSize); in computeReference()
341 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
344 DE_UNREF(workGroupSize); in computeReference()
366 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument
[all …]
DvktComputeIndirectComputeDispatchTests.cpp105 const tcu::UVec3 workGroupSize, in DispatchCaseDesc()
110 , m_workGroupSize (workGroupSize) in DispatchCaseDesc()
126 const tcu::UVec3& workGroupSize,
163 const tcu::UVec3& workGroupSize, in IndirectDispatchInstanceBufferUpload() argument
173 , m_workGroupSize (workGroupSize) in IndirectDispatchInstanceBufferUpload()
441 const tcu::UVec3& workGroupSize, in IndirectDispatchInstanceBufferGenerate() argument
443 …: IndirectDispatchInstanceBufferUpload(context, name, bufferSize, workGroupSize, dispatchCommands)… in IndirectDispatchInstanceBufferGenerate()
DvktComputeBasicComputeShaderTests.cpp154 const int workGroupSize = multiplyComponents(m_localSize); in initPrograms() local
156 const int numValues = workGroupSize * workGroupCount; in initPrograms()
164 << "shared uint offsets[" << workGroupSize << "];\n\n" in initPrograms()
200 const int workGroupSize = multiplyComponents(m_localSize); in iterate() local
205 const VkDeviceSize bufferSizeBytes = sizeof(deUint32) * workGroupSize * workGroupCount; in iterate()
264 const int globalOffset = groupNdx * workGroupSize; in iterate()
265 for (int localOffset = 0; localOffset < workGroupSize; ++localOffset) in iterate()
268 const deUint32 ref = globalOffset + squared(workGroupSize - localOffset - 1); in iterate()
325 const int workGroupSize = multiplyComponents(m_localSize); in initPrograms() local
327 const int numValues = workGroupSize * workGroupCount; in initPrograms()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsStorage.cpp442 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in recordCommands() local
443 const tcu::UVec3 specializationData[2] = { gridSize, workGroupSize }; in recordCommands()
484 …const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize in recordCommands()
485 …const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize in recordCommands()
486 …const deUint32 zWorkGroupCount = gridSize.z() / workGroupSize.z() + (gridSize.z() % workGroupSize in recordCommands()
DvktSparseResourcesBufferMemoryAliasing.cpp118 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); in initPrograms() local
122 …yout (local_size_x = " << workGroupSize.x() << ", local_size_y = " << workGroupSize.y() << ", loca… in initPrograms()
341 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocationsLeft); in iterate() local
344 numInvocationsLeft -= workGroupSize.x()*workGroupSize.y()*workGroupSize.z(); in iterate()
DvktSparseResourcesImageSparseResidency.cpp144 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in initPrograms() local
148 …yout (local_size_x = " << workGroupSize.x() << ", local_size_y = " << workGroupSize.y() << ", loca… in initPrograms()
520 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in iterate() local
522 …const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize.… in iterate()
523 …const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize.… in iterate()
524 …const deUint32 zWorkGroupCount = gridSize.z() / workGroupSize.z() + (gridSize.z() % workGroupSize.… in iterate()
/external/deqp/external/openglcts/modules/common/
DglcShaderGroupVoteTests.cpp232 const WorkGroupSize workGroupSize(context); in ShaderGroupVoteTestCaseBase() local
237 stream << workGroupSize.width << " " << workGroupSize.height; in ShaderGroupVoteTestCaseBase()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp7591 TVariable* workGroupSize = getEditableVariable("gl_WorkGroupSize"); in updateStandaloneQualifierDefaults() local
7592 if (workGroupSize != nullptr) in updateStandaloneQualifierDefaults()
7593workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()
7605 TVariable* workGroupSize = getEditableVariable("gl_WorkGroupSize"); in updateStandaloneQualifierDefaults() local
7606 if (workGroupSize != nullptr) in updateStandaloneQualifierDefaults()
7607 workGroupSize->getWritableType().getQualifier().specConstant = true; in updateStandaloneQualifierDefaults()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp214 …est(bool useLiteralLocalSize, bool useSpecConstantWorkgroupSize, IVec3 workGroupSize, deUint32 ndx) in getAsmForLocalSizeTest() argument
222 << workGroupSize.x() << " " << workGroupSize.y() << " " << workGroupSize.z() << "\n"; in getAsmForLocalSizeTest()
246 out << "%spec_0 = OpSpecConstant %u32 "<< workGroupSize.x() << "\n" in getAsmForLocalSizeTest()
247 << "%spec_1 = OpSpecConstant %u32 "<< workGroupSize.y() << "\n" in getAsmForLocalSizeTest()
248 << "%spec_2 = OpSpecConstant %u32 "<< workGroupSize.z() << "\n" in getAsmForLocalSizeTest()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp9002 TVariable* workGroupSize = getEditableVariable("gl_WorkGroupSize"); in updateStandaloneQualifierDefaults() local
9003 workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()
9008 TVariable* workGroupSize = getEditableVariable("gl_WorkGroupSize"); in updateStandaloneQualifierDefaults() local
9009 workGroupSize->getWritableType().getQualifier().specConstant = true; in updateStandaloneQualifierDefaults()