/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageAtomicOperationTests.cpp | 172 const IVec3& gridSize) in getAtomicFuncArgumentShaderStr() argument 188 …return string("((" + z + "*" + toString(gridSize.x()) + " + " + x + ")*" + toString(gridSize.y()) … in getAtomicFuncArgumentShaderStr() 290 const IVec3& gridSize) in getAtomicFuncArgument() argument 314 return (z*static_cast<T>(gridSize.x()) + x)*static_cast<T>(gridSize.y()) + y; in getAtomicFuncArgument() 507 const tcu::UVec3& gridSize, in initDataForImage() argument 512 …tcu::PixelBufferAccess pixelBuffer (format, gridSize.x(), gridSize.y(), gridSize.z(), bufferAllo… in initDataForImage() 518 for (deUint32 z = 0; z < gridSize.z(); z++) in initDataForImage() 519 for (deUint32 y = 0; y < gridSize.y(); y++) in initDataForImage() 520 for (deUint32 x = 0; x < gridSize.x(); x++) in initDataForImage() 529 for (deUint32 z = 0; z < gridSize.z(); z++) in initDataForImage() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSampleLocationsUtil.hpp | 43 MultisamplePixelGrid (const tcu::UVec2& gridSize, const vk::VkSampleCountFlagBits numSamples) in MultisamplePixelGrid() argument 44 : m_gridSize (gridSize) in MultisamplePixelGrid() 46 , m_sampleLocations (gridSize.x() * gridSize.y() * numSamples) in MultisamplePixelGrid() 48 DE_ASSERT(gridSize.x() > 0 && gridSize.y() > 0); in MultisamplePixelGrid()
|
D | vktPipelineMultisampleTestsUtil.cpp | 130 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels() local 132 return gridSize.x() * gridSize.y() * gridSize.z(); in getNumPixels()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderRenderCase.cpp | 153 QuadGrid(int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, 233 QuadGrid::QuadGrid(int gridSize, int width, int height, const Vec4& constCoords, in QuadGrid() argument 235 : m_gridSize(gridSize) in QuadGrid() 236 , m_numVertices((gridSize + 1) * (gridSize + 1)) in QuadGrid() 237 , m_numTriangles(gridSize * gridSize * 2) in QuadGrid() 255 for (int y = 0; y < gridSize + 1; y++) in QuadGrid() 256 for (int x = 0; x < gridSize + 1; x++) in QuadGrid() 258 float sx = static_cast<float>(x) / static_cast<float>(gridSize); in QuadGrid() 259 float sy = static_cast<float>(y) / static_cast<float>(gridSize); in QuadGrid() 262 int vtxNdx = ((y * (gridSize + 1)) + x); in QuadGrid() [all …]
|
/external/deqp/modules/glshared/ |
D | glsShaderRenderCase.cpp | 137 …QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vecto… 177 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4… in QuadGrid() argument 178 : m_gridSize (gridSize) in QuadGrid() 179 , m_numVertices ((gridSize + 1) * (gridSize + 1)) in QuadGrid() 180 , m_numTriangles (gridSize * gridSize * 2) in QuadGrid() 198 for (int y = 0; y < gridSize+1; y++) in QuadGrid() 199 for (int x = 0; x < gridSize+1; x++) in QuadGrid() 201 float sx = (float)x / (float)gridSize; in QuadGrid() 202 float sy = (float)y / (float)gridSize; in QuadGrid() 205 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid() [all …]
|
D | glsVertexArrayTests.cpp | 1311 …ride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize); 1316 … componentCount, int offset, int stride, Array::Primitive primitive, T min, T max, float gridSize); 1416 …tride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize) in generateQuads() argument 1423 …<GLValue::Float>(seed, count, componentCount, offset, stride, primitive, min.fl, max.fl, gridSize); in generateQuads() 1427 …<GLValue::Fixed>(seed, count, componentCount, offset, stride, primitive, min.fi, max.fi, gridSize); in generateQuads() 1431 …s<GLValue::Double>(seed, count, componentCount, offset, stride, primitive, min.d, max.d, gridSize); in generateQuads() 1435 …ads<GLValue::Byte>(seed, count, componentCount, offset, stride, primitive, min.b, max.b, gridSize); in generateQuads() 1439 …ds<GLValue::Short>(seed, count, componentCount, offset, stride, primitive, min.s, max.s, gridSize); in generateQuads() 1443 …<GLValue::Ubyte>(seed, count, componentCount, offset, stride, primitive, min.ub, max.ub, gridSize); in generateQuads() 1447 …GLValue::Ushort>(seed, count, componentCount, offset, stride, primitive, min.us, max.us, gridSize); in generateQuads() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageMemoryAliasing.cpp | 466 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipmapNdx); in iterate() local 468 …const deUint32 planeW = gridSize.x() / (formatDescription.blockWidth * formatDescription.plane… in iterate() 660 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipLevelNdx); in iterate() local 661 …const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxWorkGroupSize.x()), maxWorkGr… in iterate() 662 …const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxWorkGroupSize.y()), maxWorkGr… in iterate() 663 …const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxWorkGroupSize.z()), maxWorkGr… in iterate() 665 …const deUint32 xWorkGroupCount = gridSize.x() / xWorkGroupSize + (gridSize.x() % xWorkGroupSize … in iterate() 666 …const deUint32 yWorkGroupCount = gridSize.y() / yWorkGroupSize + (gridSize.y() % yWorkGroupSize … in iterate() 667 …const deUint32 zWorkGroupCount = gridSize.z() / zWorkGroupSize + (gridSize.z() % zWorkGroupSize … in iterate() 746 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipmapNdx); in iterate() local [all …]
|
D | vktSparseResourcesShaderIntrinsicsStorage.cpp | 35 tcu::UVec3 computeWorkGroupSize (const tcu::UVec3& gridSize) in computeWorkGroupSize() argument 40 …const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxComputeWorkGroupSize.x()), maxC… in computeWorkGroupSize() 41 …const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxComputeWorkGroupSize.y()), maxC… in computeWorkGroupSize() 42 …const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxComputeWorkGroupSize.z()), maxC… in computeWorkGroupSize() 473 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipLevelNdx); in recordCommands() local 474 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in recordCommands() 475 const tcu::UVec3 specializationData[2] = { gridSize, workGroupSize }; in recordCommands() 516 …const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize… in recordCommands() 517 …const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize… in recordCommands() 518 …const deUint32 zWorkGroupCount = gridSize.z() / workGroupSize.z() + (gridSize.z() % workGroupSize… in recordCommands()
|
/external/llvm-project/clang/test/CodeGenCUDA/Inputs/ |
D | cuda.h | 20 int hipConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0, 22 extern "C" hipError_t __hipPushCallConfiguration(dim3 gridSize, dim3 blockSize, 32 extern "C" int cudaConfigureCall(dim3 gridSize, dim3 blockSize, 35 extern "C" int __cudaPushCallConfiguration(dim3 gridSize, dim3 blockSize,
|
/external/llvm-project/clang/test/SemaCUDA/Inputs/ |
D | cuda.h | 23 int hipConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0, 25 extern "C" hipError_t __hipPushCallConfiguration(dim3 gridSize, dim3 blockSize, 36 extern "C" int cudaConfigureCall(dim3 gridSize, dim3 blockSize, 39 extern "C" int __cudaPushCallConfiguration(dim3 gridSize, dim3 blockSize,
|
/external/llvm-project/clang/test/SemaCUDA/ |
D | config-type.cu | 5 void cudaConfigureCall(unsigned gridSize, unsigned blockSize); 7 void __cudaPushCallConfiguration(unsigned gridSize, unsigned blockSize);
|
/external/skia/bench/ |
D | BulkRectBench.cpp | 195 int gridSize = SkScalarCeilToInt(SkScalarSqrt(kRectCount)); in onDelayedSetup() local 196 SkASSERT(gridSize * gridSize >= kRectCount); in onDelayedSetup() 198 SkScalar w = (kWidth - 1.f) / gridSize; in onDelayedSetup() 199 SkScalar h = (kHeight - 1.f) / gridSize; in onDelayedSetup() 201 SkScalar x = (i % gridSize) * w + 0.5f; // Offset to ensure AA doesn't get disabled in onDelayedSetup() 202 SkScalar y = (i / gridSize) * h + 0.5f; in onDelayedSetup()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 159 QuadGrid (int gridSize, 206 QuadGrid::QuadGrid (int gridSize, in QuadGrid() argument 212 : m_gridSize (gridSize) in QuadGrid() 213 , m_numVertices ((gridSize + 1) * (gridSize + 1)) in QuadGrid() 214 , m_numTriangles (gridSize * gridSize * 2) in QuadGrid() 232 for (int y = 0; y < gridSize+1; y++) in QuadGrid() 233 for (int x = 0; x < gridSize+1; x++) in QuadGrid() 235 float sx = (float)x / (float)gridSize; in QuadGrid() 236 float sy = (float)y / (float)gridSize; in QuadGrid() 239 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 1166 const int gridSize = 16; in iterate() local 1167 std::vector<tcu::Vec4> gridVertices (gridSize * gridSize); in iterate() 1168 std::vector<tcu::Vec2> gridTexCoords (gridSize * gridSize); in iterate() 1169 std::vector<deUint16> indices ((gridSize - 1) * (gridSize - 1) * 6); in iterate() 1173 for (int x = 0; x < gridSize; ++x) in iterate() 1174 for (int y = 0; y < gridSize; ++y) in iterate() 1176 …const float posX = (float)x / ((float)gridSize - 1.0f) * 2.0f - 1.0f; // map from [0, gridSize - … in iterate() 1177 const float posY = (float)y / ((float)gridSize - 1.0f) * 2.0f - 1.0f; in iterate() 1178 const float texCoordX = deFloatPow(2.0f, (float)x - (float)gridSize / 2.0f); in iterate() 1179 const float texCoordY = deFloatPow(2.0f, (float)y - (float)gridSize / 2.0f); in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawTests.cpp | 999 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int drawCallCoun… 1035 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int drawCallCoun… in ComputeShaderGeneratedCase() argument 1043 , m_gridSize (gridSize) in ComputeShaderGeneratedCase() 1579 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls… 1591 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls) in ComputeShaderGeneratedCombinedCase() argument 1592 …dCase(context, name, desc, method, computeCmd, computeData, computeIndices, gridSize, numDrawCalls) in ComputeShaderGeneratedCombinedCase() 1695 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls… 1712 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls) in ComputeShaderGeneratedSeparateCase() argument 1713 …Case (context, name, desc, method, computeCmd, computeData, computeIndices, gridSize, numDrawCalls) in ComputeShaderGeneratedSeparateCase() 1910 const int gridSize = 8; in init() local [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 190 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const… 229 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const Tex… in PosTexCoordQuadGrid() argument 230 : m_gridSize(gridSize) in PosTexCoordQuadGrid() 336 const int gridSize = grid.getSize(); in setPixelColors() local 338 for (int y = 0; y < gridSize; y++) in setPixelColors() 339 for (int x = 0; x < gridSize; x++) in setPixelColors() 341 const Vec4 color = quadColors[y*gridSize + x]; in setPixelColors() 365 const int gridSize = grid.getSize(); in computeReference() local 366 vector<Vec4> quadColors (gridSize*gridSize); in computeReference() 368 for (int y = 0; y < gridSize; y++) in computeReference() [all …]
|
D | es2fStencilTests.cpp | 283 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate() local 314 int cellWidth = width/gridSize; in iterate() 315 int cellHeight = height/gridSize; in iterate() 316 for (int y = 0; y < gridSize; y++) in iterate() 317 for (int x = 0; x < gridSize; x++) in iterate()
|
/external/clang/test/SemaCUDA/ |
D | config-type.cu | 3 void cudaConfigureCall(unsigned gridSize, unsigned blockSize); // expected-error {{must have scalar…
|
/external/clang/test/SemaCUDA/Inputs/ |
D | cuda.h | 22 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
|
/external/clang/test/PCH/Inputs/ |
D | cuda.h | 19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
|
/external/llvm-project/clang/test/PCH/Inputs/ |
D | cuda.h | 19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
|
/external/clang/test/CodeGenCUDA/Inputs/ |
D | cuda.h | 19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
|
/external/deqp/modules/gles3/functional/ |
D | es3fStencilTests.cpp | 286 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate() local 317 int cellWidth = width/gridSize; in iterate() 318 int cellHeight = height/gridSize; in iterate() 319 for (int y = 0; y < gridSize; y++) in iterate() 320 for (int x = 0; x < gridSize; x++) in iterate()
|
D | es3fVertexTextureTests.cpp | 239 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const… 278 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const Tex… in PosTexCoordQuadGrid() argument 279 : m_gridSize(gridSize) in PosTexCoordQuadGrid() 431 const int gridSize = grid.getSize(); in setPixelColors() local 433 for (int y = 0; y < gridSize; y++) in setPixelColors() 434 for (int x = 0; x < gridSize; x++) in setPixelColors() 436 const Vec4 color = quadColors[y*gridSize + x]; in setPixelColors() 462 const int gridSize = grid.getSize(); in computeReference() local 463 vector<Vec4> quadColors (gridSize*gridSize); in computeReference() 465 for (int y = 0; y < gridSize; y++) in computeReference() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringAnisotropyTests.cpp | 111 const int gridSize = max(texture->getLevel(levelNdx, 0).getHeight() / 8, 1); in iterate() local 112 …tcu::fillWithGrid(texture->getLevel(levelNdx, 0), gridSize, Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4(1.0… in iterate()
|