Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence/
DvktReconvergenceTests.cpp87 deUint64 subgroupSizeToMask(deUint32 subgroupSize) in subgroupSizeToMask() argument
89 if (subgroupSize == 64) in subgroupSizeToMask()
92 return (1ULL << subgroupSize) - 1; in subgroupSizeToMask()
99 bitset128 bitsetFromU64(deUint64 mask, deUint32 subgroupSize) in bitsetFromU64() argument
101 mask &= subgroupSizeToMask(subgroupSize); in bitsetFromU64()
103 for (deUint32 i = 0; i < 128 / subgroupSize - 1; ++i) in bitsetFromU64()
105 result = (result << subgroupSize) | bitset128(mask); in bitsetFromU64()
111 deUint64 bitsetToU64(const bitset128 &bitset, deUint32 subgroupSize, deUint32 invocationID) in bitsetToU64() argument
114 copy >>= (invocationID / subgroupSize) * subgroupSize; in bitsetToU64()
115 copy &= bitset128(subgroupSizeToMask(subgroupSize)); in bitsetToU64()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/reconvergence/
DvktReconvergenceTests.cpp87 deUint64 subgroupSizeToMask(deUint32 subgroupSize) in subgroupSizeToMask() argument
89 if (subgroupSize == 64) in subgroupSizeToMask()
92 return (1ULL << subgroupSize) - 1; in subgroupSizeToMask()
99 bitset128 bitsetFromU64(deUint64 mask, deUint32 subgroupSize) in bitsetFromU64() argument
101 mask &= subgroupSizeToMask(subgroupSize); in bitsetFromU64()
103 for (deUint32 i = 0; i < 128 / subgroupSize - 1; ++i) in bitsetFromU64()
105 result = (result << subgroupSize) | bitset128(mask); in bitsetFromU64()
111 deUint64 bitsetToU64(const bitset128 &bitset, deUint32 subgroupSize, deUint32 invocationID) in bitsetToU64() argument
114 copy >>= (invocationID / subgroupSize) * subgroupSize; in bitsetToU64()
115 copy &= bitset128(subgroupSizeToMask(subgroupSize)); in bitsetToU64()
[all …]
/third_party/skia/third_party/externals/angle2/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.h178 uint32_t subgroupSize[2]; member
185 uint32_t subgroupSize[2]; member
DUtilsVk.cpp3384 ASSERT(params.subgroupSize[0] == 8 && in cullOverlayWidgets()
3385 (params.subgroupSize[1] == 8 || params.subgroupSize[1] == 4)); in cullOverlayWidgets()
3387 params.subgroupSize[1] == 8 ? OverlayCull_comp::kIs8x8 : OverlayCull_comp::kIs8x4; in cullOverlayWidgets()
3473 ASSERT(params.subgroupSize[0] == 8 && in drawOverlay()
3474 (params.subgroupSize[1] == 8 || params.subgroupSize[1] == 4)); in drawOverlay()
3476 params.subgroupSize[1] == 8 ? OverlayDraw_comp::kIs8x8 : OverlayDraw_comp::kIs8x4; in drawOverlay()
/third_party/vk-gl-cts/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()
1076 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in makeTessellationEvaluationFrameBufferTest() argument
1136 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTest() local
1212 if (!checkResult(datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTest()
1262 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)) in makeGeometryFrameBufferTest() argument
1320 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTest() local
1406 if (!checkResult(datas, width, subgroupSize)) in makeGeometryFrameBufferTest()
1428 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in allStages() argument
1567 const deUint32 subgroupSize = getSubgroupSize(context); in allStages() local
[all …]
DglcSubgroupsTestsUtils.hpp455 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize),
460 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize));
464 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize),
469 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize));
474 deUint32 height, deUint32 subgroupSize));
481 deUint32 subgroupSize));
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsBallotBroadcastTests.cpp512 …for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSiz… in createSubgroupsBallotBroadcastTests() local
522 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests()
524 const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize); in createSubgroupsBallotBroadcastTests()
551 …for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSiz… in createSubgroupsBallotBroadcastTests() local
561 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests()
563 … const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize) + stageName; in createSubgroupsBallotBroadcastTests()
DvktSubgroupsTestsUtils.hpp58 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize);
59 …ernalData, std::vector<const void*> datas, deUint32 width, deUint32 height, deUint32 subgroupSize);
60 …void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize);
257 …* extraData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize, bool multipleC… in operator ()() argument
260 return m_allArgsFunc(extraData, datas, width, subgroupSize, multipleCallsPossible); in operator ()()
261 return m_noLastArgFunc(extraData, datas, width, subgroupSize); in operator ()()
372 const deUint32 subgroupSize,
385 const deUint32 subgroupSize,
DvktSubgroupsSizeControlTests.cpp634 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local
650 {subgroupSize, 1, 1}, in test()
651 {1, subgroupSize, 1}, in test()
652 {1, 1, subgroupSize}, in test()
664 subgroupSize, in test()
676 subgroupSize, in test()
690 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local
706 {subgroupSize, 1, 1}, in test()
707 {1, subgroupSize, 1}, in test()
708 {1, 1, subgroupSize}, in test()
[all …]
DvktSubgroupsBuiltinVarTests.cpp67 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() argument
77 if (subgroupSize != val) in checkVertexPipelineStagesSubgroupSize()
87 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() argument
92 vector<deUint32> subgroupInvocationHits (subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID()
98 if (subgroupInvocationID >= subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID()
106 for (deUint32 i = 0; i < subgroupSize; ++i) in checkVertexPipelineStagesSubgroupInvocationID()
121 deUint32 subgroupSize) in checkComputeSubgroupSize() argument
158 if (subgroupSize != data[offset * 4]) in checkComputeSubgroupSize()
174 deUint32 subgroupSize) in checkComputeSubgroupInvocationID() argument
188 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkComputeSubgroupInvocationID()
[all …]
DvktSubgroupsTestsUtils.cpp938 return context.getSubgroupProperties().subgroupSize; in getSubgroupSize()
2761 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2832 if (!checkResult(internalData, datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2994 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTestRequiredSubgroupSize() local
3071 if (!checkResult(internalData, datas, width, subgroupSize)) in makeGeometryFrameBufferTestRequiredSubgroupSize()
3310 const deUint32 subgroupSize = getSubgroupSize(context); in allStagesRequiredSubgroupSize() local
3402 if (!checkResult(internalData, datas, usedWidth, subgroupSize, multiCall)) in allStagesRequiredSubgroupSize()
3426 if (!checkResult(internalData, datas, width, subgroupSize, false)) in allStagesRequiredSubgroupSize()
3572 const deUint32 subgroupSize = getSubgroupSize(context); in makeVertexFrameBufferTestRequiredSubgroupSize() local
3653 if (!checkResult(internalData, datas, width, subgroupSize)) in makeVertexFrameBufferTestRequiredSubgroupSize()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsBallotBroadcastTests.cpp512 …for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSiz… in createSubgroupsBallotBroadcastTests() local
522 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests()
524 const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize); in createSubgroupsBallotBroadcastTests()
551 …for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSiz… in createSubgroupsBallotBroadcastTests() local
561 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests()
563 … const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize) + stageName; in createSubgroupsBallotBroadcastTests()
DvktSubgroupsTestsUtils.hpp58 …)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize);
59 …ernalData, std::vector<const void*> datas, deUint32 width, deUint32 height, deUint32 subgroupSize);
60 …void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize);
257 …* extraData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize, bool multipleC… in operator ()() argument
260 return m_allArgsFunc(extraData, datas, width, subgroupSize, multipleCallsPossible); in operator ()()
261 return m_noLastArgFunc(extraData, datas, width, subgroupSize); in operator ()()
372 const deUint32 subgroupSize,
385 const deUint32 subgroupSize,
DvktSubgroupsSizeControlTests.cpp634 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local
650 {subgroupSize, 1, 1}, in test()
651 {1, subgroupSize, 1}, in test()
652 {1, 1, subgroupSize}, in test()
664 subgroupSize, in test()
676 subgroupSize, in test()
690 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local
706 {subgroupSize, 1, 1}, in test()
707 {1, subgroupSize, 1}, in test()
708 {1, 1, subgroupSize}, in test()
[all …]
DvktSubgroupsBuiltinVarTests.cpp67 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() argument
77 if (subgroupSize != val) in checkVertexPipelineStagesSubgroupSize()
87 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() argument
92 vector<deUint32> subgroupInvocationHits (subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID()
98 if (subgroupInvocationID >= subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID()
106 for (deUint32 i = 0; i < subgroupSize; ++i) in checkVertexPipelineStagesSubgroupInvocationID()
121 deUint32 subgroupSize) in checkComputeSubgroupSize() argument
158 if (subgroupSize != data[offset * 4]) in checkComputeSubgroupSize()
174 deUint32 subgroupSize) in checkComputeSubgroupInvocationID() argument
188 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkComputeSubgroupInvocationID()
[all …]
DvktSubgroupsTestsUtils.cpp938 return context.getSubgroupProperties().subgroupSize; in getSubgroupSize()
2761 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2832 if (!checkResult(internalData, datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2994 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTestRequiredSubgroupSize() local
3071 if (!checkResult(internalData, datas, width, subgroupSize)) in makeGeometryFrameBufferTestRequiredSubgroupSize()
3310 const deUint32 subgroupSize = getSubgroupSize(context); in allStagesRequiredSubgroupSize() local
3402 if (!checkResult(internalData, datas, usedWidth, subgroupSize, multiCall)) in allStagesRequiredSubgroupSize()
3426 if (!checkResult(internalData, datas, width, subgroupSize, false)) in allStagesRequiredSubgroupSize()
3572 const deUint32 subgroupSize = getSubgroupSize(context); in makeVertexFrameBufferTestRequiredSubgroupSize() local
3653 if (!checkResult(internalData, datas, width, subgroupSize)) in makeVertexFrameBufferTestRequiredSubgroupSize()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline.cc178 const uint32_t subgroupSize) { in SetShaderRequiredSubgroupSize() argument
180 subgroupSize > 0 && (subgroupSize & (subgroupSize - 1)) == 0; in SetShaderRequiredSubgroupSize()
181 if (subgroupSize == 0 || subgroupSize > 128 || !isPow2) { in SetShaderRequiredSubgroupSize()
183 std::to_string(subgroupSize) + " specified for shader name " + in SetShaderRequiredSubgroupSize()
188 return SetShaderRequiredSubgroupSize(shader, setting, subgroupSize); in SetShaderRequiredSubgroupSize()
Dpipeline.h276 const uint32_t subgroupSize);
432 const uint32_t subgroupSize);
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.cpp478 uint32_t subgroupSize = ext.minSubgroupSize * 2; in FindComputeSubgroupSize() local
479 if (subgroupSize <= ext.maxSubgroupSize) { in FindComputeSubgroupSize()
480 return subgroupSize; in FindComputeSubgroupSize()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineExecutablePropertiesTests.cpp708 if (props[0][execNdx0].subgroupSize != props[1][execNdx1].subgroupSize) in verifyTestResult()
724 …log << tcu::TestLog::Message << "Subgroup Size: " << props[0][execNdx].subgroupSize << tcu::TestLo… in verifyTestResult()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineExecutablePropertiesTests.cpp708 if (props[0][execNdx0].subgroupSize != props[1][execNdx1].subgroupSize) in verifyTestResult()
724 …log << tcu::TestLog::Message << "Subgroup Size: " << props[0][execNdx].subgroupSize << tcu::TestLo… in verifyTestResult()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/roadmap/
DRoadmap-2022.adoc101 | pname:subgroupSize | - | 1/4 | 4 | implementation-dependent
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
DvktComputeCooperativeMatrixTests.cpp898 subgroupProperties.subgroupSize * m_data.subgroupsPerWorkgroupX, in iterate()
1011 if (output != (float)(N*M/subgroupProperties.subgroupSize) && in iterate()
1126 if (output != N*M/subgroupProperties.subgroupSize && in iterate()

123