Home
last modified time | relevance | path

Searched refs:xWorkGroupSize (Results 1 - 10 of 10) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBufferMemoryAliasing.cpp70 const deUint32 xWorkGroupSize = std::min(std::min(numInvocationsLeft, maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); in computeWorkGroupSize() local
71 numInvocationsLeft = numInvocationsLeft / xWorkGroupSize + ((numInvocationsLeft % xWorkGroupSize) ? 1u : 0u); in computeWorkGroupSize()
73 const deUint32 yWorkGroupSize = std::min(std::min(numInvocationsLeft, maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); in computeWorkGroupSize()
76 const deUint32 zWorkGroupSize = std::min(std::min(numInvocationsLeft, maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
79 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize()
H A DvktSparseResourcesImageMemoryAliasing.cpp659 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxWorkGroupSize.x()), maxWorkGroupInvocations); in iterate() local
660 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxWorkGroupSize.y()), maxWorkGroupInvocations / xWorkGroupSize); in iterate()
661 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxWorkGroupSize.z()), maxWorkGroupInvocations / (xWorkGroupSize * yWorkGroupSize)); in iterate()
663 const deUint32 xWorkGroupCount = gridSize.x() / xWorkGroupSize + (gridSize.x() % xWorkGroupSize ? 1u : 0u); in iterate()
858 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxWorkGroupSize.x()), maxWorkGroupInvocations); in initPrograms() local
859 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxWorkGroupSize.y()), maxWorkGroupInvocations / xWorkGroupSize); in initPrograms()
860 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxWorkGroupSize.z()), maxWorkGroupInvocations / (xWorkGroupSize * yWorkGroupSize)); in initPrograms()
870 src << "layout (local_size_x = " << xWorkGroupSize << ", local_size_y = " << yWorkGroupSize << ", local_size_z = " << zWorkGroupSize << ") in; \n" in initPrograms()
H A DvktSparseResourcesShaderIntrinsicsStorage.cpp40 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); in computeWorkGroupSize() local
41 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); in computeWorkGroupSize()
42 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
44 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize()
H A DvktSparseResourcesImageSparseResidency.cpp117 const deUint32 xWorkGroupSize = std::min(std::min(planeExtent.width, maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); in computeWorkGroupSize() local
118 const deUint32 yWorkGroupSize = std::min(std::min(planeExtent.height, maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); in computeWorkGroupSize()
119 const deUint32 zWorkGroupSize = std::min(std::min(planeExtent.depth, maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
121 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesBufferMemoryAliasing.cpp70 const deUint32 xWorkGroupSize = std::min(std::min(numInvocationsLeft, maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); in computeWorkGroupSize() local
71 numInvocationsLeft = numInvocationsLeft / xWorkGroupSize + ((numInvocationsLeft % xWorkGroupSize) ? 1u : 0u); in computeWorkGroupSize()
73 const deUint32 yWorkGroupSize = std::min(std::min(numInvocationsLeft, maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); in computeWorkGroupSize()
76 const deUint32 zWorkGroupSize = std::min(std::min(numInvocationsLeft, maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
79 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize()
H A DvktSparseResourcesImageMemoryAliasing.cpp661 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxWorkGroupSize.x()), maxWorkGroupInvocations); in iterate() local
662 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxWorkGroupSize.y()), maxWorkGroupInvocations / xWorkGroupSize); in iterate()
663 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxWorkGroupSize.z()), maxWorkGroupInvocations / (xWorkGroupSize * yWorkGroupSize)); in iterate()
665 const deUint32 xWorkGroupCount = gridSize.x() / xWorkGroupSize + (gridSize.x() % xWorkGroupSize ? 1u : 0u); in iterate()
860 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxWorkGroupSize.x()), maxWorkGroupInvocations); in initPrograms() local
861 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxWorkGroupSize.y()), maxWorkGroupInvocations / xWorkGroupSize); in initPrograms()
862 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxWorkGroupSize.z()), maxWorkGroupInvocations / (xWorkGroupSize * yWorkGroupSize)); in initPrograms()
872 src << "layout (local_size_x = " << xWorkGroupSize << ", local_size_y = " << yWorkGroupSize << ", local_size_z = " << zWorkGroupSize << ") in; \n" in initPrograms()
H A DvktSparseResourcesShaderIntrinsicsStorage.cpp40 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); in computeWorkGroupSize() local
41 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); in computeWorkGroupSize()
42 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
44 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize()
H A DvktSparseResourcesImageSparseResidency.cpp117 const deUint32 xWorkGroupSize = std::min(std::min(planeExtent.width, maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); in computeWorkGroupSize() local
118 const deUint32 yWorkGroupSize = std::min(std::min(planeExtent.height, maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); in computeWorkGroupSize()
119 const deUint32 zWorkGroupSize = std::min(std::min(planeExtent.depth, maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
121 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrStorageImageWriteTests.cpp113 const deUint32 xWorkGroupSize = std::min(std::min(planeExtent.width, maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); in computeWorkGroupSize() local
114 const deUint32 yWorkGroupSize = std::min(std::min(planeExtent.height, maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); in computeWorkGroupSize()
115 const deUint32 zWorkGroupSize = std::min(std::min(planeExtent.depth, maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
117 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrStorageImageWriteTests.cpp214 const deUint32 xWorkGroupSize = std::min(std::min(planeExtent.width, maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations);
215 const deUint32 yWorkGroupSize = std::min(std::min(planeExtent.height, maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize);
216 const deUint32 zWorkGroupSize = std::min(std::min(planeExtent.depth, maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize));
218 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize);

Completed in 14 milliseconds