Home
last modified time | relevance | path

Searched refs:subgroupSize (Results 1 – 25 of 42) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.hpp185 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize),
190 …(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize));
208 …* extraData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize, bool multipleC… in operator ()() argument
211 return m_allArgsFunc(extraData, datas, width, subgroupSize, multipleCallsPossible); in operator ()()
212 return m_noLastArgFunc(extraData, datas, width, subgroupSize); in operator ()()
227 …(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize));
232 deUint32 height, deUint32 subgroupSize));
239 deUint32 subgroupSize),
245 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize),
251 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize),
[all …]
DvktSubgroupsBuiltinVarTests.cpp42 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() argument
51 if (subgroupSize != val) in checkVertexPipelineStagesSubgroupSize()
59 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() argument
64 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID()
70 if (subgroupInvocationID >= subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID()
78 for (deUint32 i = 0; i < subgroupSize; ++i) in checkVertexPipelineStagesSubgroupInvocationID()
91 deUint32 subgroupSize) in checkComputeSubgroupSize() argument
128 if (subgroupSize != data[offset * 4]) in checkComputeSubgroupSize()
142 deUint32 subgroupSize) in checkComputeSubgroupInvocationID() argument
155 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkComputeSubgroupInvocationID()
[all …]
DvktSubgroupsSizeControlTests.cpp697 deUint32 subgroupSize = vkt::subgroups::getSubgroupSize(context); in test() local
715 {subgroupSize, 1, 1}, in test()
716 {1, subgroupSize, 1}, in test()
717 {1, 1, subgroupSize}, in test()
730 subgroupSize, in test()
734 caseDef.pipelineShaderStageCreateFlags, numWorkgroups, DE_FALSE, subgroupSize, in test()
800 const deUint32 subgroupSize = vkt::subgroups::getSubgroupSize(context); in testRequireFullSubgroups() local
820 subgroupSize, in testRequireFullSubgroups()
824 caseDef.pipelineShaderStageCreateFlags, numWorkgroups, DE_FALSE, subgroupSize, in testRequireFullSubgroups()
976 if (subgroupProperties.subgroupSize > subgroupSizeControlProperties.maxSubgroupSize || in testSanitySubgroupSizeProperties()
[all …]
DvktSubgroupsTestsUtils.cpp885 return subgroupProperties.subgroupSize; in getSubgroupSize()
2569 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in makeTessellationEvaluationFrameBufferTest() argument
2578 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() argument
2692 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2762 if (!checkResult(internalData, datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2810 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)) in makeGeometryFrameBufferTest() argument
2819 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in makeGeometryFrameBufferTestRequiredSubgroupSize() argument
2921 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTestRequiredSubgroupSize() local
2997 if (!checkResult(internalData, datas, width, subgroupSize)) in makeGeometryFrameBufferTestRequiredSubgroupSize()
3209 const deUint32 subgroupSize = getSubgroupSize(context); in allStagesRequiredSubgroupSize() local
[all …]
DvktSubgroupsBallotBroadcastTests.cpp461 …for (int subgroupSize = 1; subgroupSize <= (int)subgroups::maxSupportedSubgroupSize(); subgroupSiz… in createSubgroupsBallotBroadcastTests() local
463 std::string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize); in createSubgroupsBallotBroadcastTests()
466 caseDef.requiredSubgroupSize = subgroupSize; in createSubgroupsBallotBroadcastTests()
/external/angle/src/libANGLE/renderer/vulkan/
DOverlayVk.cpp40 uint32_t subgroupSize = subgroupProperties.subgroupSize; in init() local
43 if (subgroupSize != 32 && subgroupSize != 64) in init()
49 mSubgroupSize[1] = subgroupSize / 8; in init()
204 params.subgroupSize[0] = mSubgroupSize[0]; in cullWidgets()
205 params.subgroupSize[1] = mSubgroupSize[1]; in cullWidgets()
280 params.subgroupSize[0] = mSubgroupSize[0]; in onPresent()
281 params.subgroupSize[1] = mSubgroupSize[1]; in onPresent()
DUtilsVk.h165 uint32_t subgroupSize[2]; member
172 uint32_t subgroupSize[2]; member
DUtilsVk.cpp3288 ASSERT(params.subgroupSize[0] == 8 && in cullOverlayWidgets()
3289 (params.subgroupSize[1] == 8 || params.subgroupSize[1] == 4)); in cullOverlayWidgets()
3291 params.subgroupSize[1] == 8 ? OverlayCull_comp::kIs8x8 : OverlayCull_comp::kIs8x4; in cullOverlayWidgets()
3377 ASSERT(params.subgroupSize[0] == 8 && in drawOverlay()
3378 (params.subgroupSize[1] == 8 || params.subgroupSize[1] == 4)); in drawOverlay()
3380 params.subgroupSize[1] == 8 ? OverlayDraw_comp::kIs8x8 : OverlayDraw_comp::kIs8x4; in drawOverlay()
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsBuiltinVarTests.cpp41 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() argument
49 if (subgroupSize != val) in checkVertexPipelineStagesSubgroupSize()
57 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() argument
61 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID()
67 if (subgroupInvocationID >= subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID()
75 for (deUint32 i = 0; i < subgroupSize; ++i) in checkVertexPipelineStagesSubgroupInvocationID()
88 deUint32 subgroupSize) in checkComputeSubgroupSize() argument
124 if (subgroupSize != data[offset * 4]) in checkComputeSubgroupSize()
138 deUint32 subgroupSize) in checkComputeSubgroupInvocationID() argument
150 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkComputeSubgroupInvocationID()
[all …]
DglcSubgroupsTestsUtils.cpp595 int subgroupSize = context.getDeqpContext().getContextInfo().getInt(GL_SUBGROUP_SIZE_KHR); in getSubgroupSize() local
597 return subgroupSize; in getSubgroupSize()
1080 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in makeTessellationEvaluationFrameBufferTest() argument
1140 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTest() local
1216 if (!checkResult(datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTest()
1266 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)) in makeGeometryFrameBufferTest() argument
1324 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTest() local
1410 if (!checkResult(datas, width, subgroupSize)) in makeGeometryFrameBufferTest()
1432 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in allStages() argument
1571 const deUint32 subgroupSize = getSubgroupSize(context); in allStages() local
[all …]
DglcSubgroupsTestsUtils.hpp456 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize),
461 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize));
465 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize),
470 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize));
475 deUint32 height, deUint32 subgroupSize));
482 deUint32 subgroupSize));
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAllReduceLowering.cpp315 Value subgroupSize = create<ConstantIntOp>(kSubgroupSize, int32Type); in createSubgroupReduce() local
317 create<CmpIOp>(CmpIPredicate::slt, activeWidth, subgroupSize); in createSubgroupReduce()
354 subgroupSize, xorAttr); in createSubgroupReduce()
364 Value subgroupSize = create<ConstantIntOp>(kSubgroupSize, int32Type); in getDivideBySubgroupSize() local
365 return create<SignedDivIOp>(int32Type, value, subgroupSize); in getDivideBySubgroupSize()
/external/deqp-deps/amber/src/
Dpipeline.cc179 const uint32_t subgroupSize) { in SetShaderRequiredSubgroupSize() argument
181 subgroupSize > 0 && (subgroupSize & (subgroupSize - 1)) == 0; in SetShaderRequiredSubgroupSize()
182 if (subgroupSize == 0 || subgroupSize > 128 || !isPow2) { in SetShaderRequiredSubgroupSize()
184 std::to_string(subgroupSize) + " specified for shader name " + in SetShaderRequiredSubgroupSize()
189 return SetShaderRequiredSubgroupSize(shader, setting, subgroupSize); in SetShaderRequiredSubgroupSize()
Dpipeline.h278 const uint32_t subgroupSize);
423 const uint32_t subgroupSize);
/external/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp630 properties->subgroupSize = sw::SIMD::Width; in getProperties()
651 properties->subgroupSize = subgroupProperties.subgroupSize; in getProperties()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineExecutablePropertiesTests.cpp1017 if (props[0][execNdx0].subgroupSize != props[1][execNdx1].subgroupSize) in verifyTestResult()
1033 …log << tcu::TestLog::Message << "Subgroup Size: " << props[0][execNdx].subgroupSize << tcu::TestLo… in verifyTestResult()
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceProperties.inl54 propertyType.subgroupSize = allPropertiesBlobs.vk11.subgroupSize;
DvkStructTypes.inl1202 deUint32 subgroupSize; member
1777 deUint32 subgroupSize; member
2854 deUint32 subgroupSize; member
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeCooperativeMatrixTests.cpp902 subgroupProperties.subgroupSize * m_data.subgroupsPerWorkgroupX, in iterate()
1015 if (output != (float)(N*M/subgroupProperties.subgroupSize) && in iterate()
1130 if (output != N*M/subgroupProperties.subgroupSize && in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp4211 (subgroupProperties[0].subgroupSize != subgroupProperties[1].subgroupSize || in deviceProperties2()
4231 if ((subgroupProperties[0].subgroupSize != subgroupProperties[1].subgroupSize) || in deviceProperties2()
4736 OFFSET_TABLE_ENTRY(VkPhysicalDeviceVulkan11Properties, subgroupSize), in devicePropertiesVulkan12()
5152 if ((subgroupProperties.subgroupSize != vulkan11Properties.subgroupSize || in devicePropertyExtensionsConsistencyVulkan12()
/external/swiftshader/src/Pipeline/
DSpirvShaderDebugger.cpp1256 uint32_t subgroupSize; member
2413 globals.common->put("subgroupSize", vk::dbg::make_reference(state->globals.subgroupSize)); in buildGlobals()
2617 store(globals + OFFSET(Globals, subgroupSize), routine->invocationsPerSubgroup); in dbgBeginEmit()
/external/vulkan-validation-layers/layers/generated/
Dvk_safe_struct.cpp5895 subgroupSize(in_struct->subgroupSize), in safe_VkPhysicalDeviceSubgroupProperties()
5910 subgroupSize = src.subgroupSize; in safe_VkPhysicalDeviceSubgroupProperties()
5925 subgroupSize = src.subgroupSize; in operator =()
5943 subgroupSize = in_struct->subgroupSize; in initialize()
5953 subgroupSize = src->subgroupSize; in initialize()
15226 subgroupSize(in_struct->subgroupSize) in safe_VkPipelineExecutablePropertiesKHR()
15245 subgroupSize = src.subgroupSize; in safe_VkPipelineExecutablePropertiesKHR()
15264 subgroupSize = src.subgroupSize; in operator =()
15286 subgroupSize = in_struct->subgroupSize; in initialize()
15300 subgroupSize = src->subgroupSize; in initialize()
/external/mesa3d/src/freedreno/vulkan/
Dtu_device.c843 properties->subgroupSize = 64; in tu_GetPhysicalDeviceProperties2()
/external/mesa3d/src/intel/vulkan/
Danv_device.c1667 p->subgroupSize = BRW_SUBGROUP_SIZE; in anv_get_physical_device_properties_1_1()
2042 CORE_PROPERTY(1, 1, subgroupSize); in anv_GetPhysicalDeviceProperties2()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp698 if (subgroupProperties.subgroupSize < 4) in iterate()

12