/external/deqp/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 62 static inline int getNumVertices (int gridSizeX, int gridSizeY) in getNumVertices() argument 64 return (gridSizeX + 1) * (gridSizeY + 1); in getNumVertices() 67 static inline int getNumIndices (int gridSizeX, int gridSizeY) in getNumIndices() argument 69 return gridSizeX*gridSizeY*6; in getNumIndices() 77 static void generateVertices (std::vector<float>& dst, int gridSizeX, int gridSizeY, const AttribSp… in generateVertices() argument 81 DE_ASSERT((gridSizeX + 1)*(gridSizeY + 1) <= (1<<16)); // Must fit into 16-bit indices. in generateVertices() 82 DE_ASSERT(gridSizeX >= 1 && gridSizeY >= 1); in generateVertices() 83 dst.resize((gridSizeX + 1) * (gridSizeY + 1) * 4); in generateVertices() 85 for (int y = 0; y <= gridSizeY; y++) in generateVertices() 90 float yf = (float)y / (float)gridSizeY; in generateVertices() [all …]
|
D | glsBufferTestUtil.cpp | 476 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) in computePositions() argument 478 positions.resize(gridSizeX*gridSizeY*4); in computePositions() 480 for (int y = 0; y < gridSizeY; y++) in computePositions() 484 float sy0 = (float)(y+0) / (float)gridSizeY; in computePositions() 486 float sy1 = (float)(y+1) / (float)gridSizeY; in computePositions() 500 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) in computeIndices() argument 502 indices.resize(3 * 2 * gridSizeX * gridSizeY); in computeIndices() 504 for (int quadNdx = 0; quadNdx < gridSizeX*gridSizeY; quadNdx++) in computeIndices()
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferTestUtil.cpp | 315 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) in computePositions() argument 317 positions.resize(gridSizeX*gridSizeY*4); in computePositions() 319 for (int y = 0; y < gridSizeY; y++) in computePositions() 323 float sy0 = (float)(y+0) / (float)gridSizeY; in computePositions() 325 float sy1 = (float)(y+1) / (float)gridSizeY; in computePositions() 339 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) in computeIndices() argument 341 indices.resize(3 * 2 * gridSizeX * gridSizeY); in computeIndices() 343 for (int quadNdx = 0; quadNdx < gridSizeX*gridSizeY; quadNdx++) in computeIndices()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 343 static inline int getNumVertices (int gridSizeX, int gridSizeY) in getNumVertices() argument 345 return gridSizeX * gridSizeY * 2 * 3; in getNumVertices() 348 static void generateVertices (std::vector<float>& dst, int gridSizeX, int gridSizeY, const Operator… in generateVertices() argument 352 DE_ASSERT(gridSizeX >= 1 && gridSizeY >= 1); in generateVertices() 353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents); in generateVertices() 358 for (int baseY = 0; baseY < gridSizeY; baseY++) in generateVertices() 362 const float yf0 = (float)(baseY + 0) / (float)gridSizeY; in generateVertices() 364 const float yf1 = (float)(baseY + 1) / (float)gridSizeY; in generateVertices()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 343 static inline int getNumVertices (int gridSizeX, int gridSizeY) in getNumVertices() argument 345 return gridSizeX * gridSizeY * 2 * 3; in getNumVertices() 348 static void generateVertices (std::vector<float>& dst, int gridSizeX, int gridSizeY, const Operator… in generateVertices() argument 352 DE_ASSERT(gridSizeX >= 1 && gridSizeY >= 1); in generateVertices() 353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents); in generateVertices() 358 for (int baseY = 0; baseY < gridSizeY; baseY++) in generateVertices() 362 const float yf0 = (float)(baseY + 0) / (float)gridSizeY; in generateVertices() 364 const float yf1 = (float)(baseY + 1) / (float)gridSizeY; in generateVertices()
|
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/ |
D | SCFToGPU.cpp | 210 Value gridSizeY = numBlockDims > 1 ? dims[1] : constOne; in createLaunch() local 219 rootForOp.getLoc(), gridSizeX, gridSizeY, gridSizeZ, blockSizeX, in createLaunch()
|
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/ |
D | tf_kernel_to_llvm_pass.cc | 225 adaptor.gridSizeY(), adaptor.gridSizeZ(), adaptor.blockSizeX(), in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Dialect/GPU/IR/ |
D | GPUDialect.cpp | 246 Value gridSizeX, Value gridSizeY, Value gridSizeZ, in build() argument 250 {gridSizeX, gridSizeY, gridSizeZ, blockSizeX, blockSizeY, blockSizeZ}); in build()
|
/external/llvm-project/mlir/include/mlir/Dialect/GPU/ |
D | GPUOps.td | 298 Index:$gridSizeX, Index:$gridSizeY, Index:$gridSizeZ, 420 `blocks` `in` ` ` `(`$gridSizeX`,` $gridSizeY`,` $gridSizeZ`)` 428 Arguments<(ins Index:$gridSizeX, Index:$gridSizeY, Index:$gridSizeZ, 499 OpBuilderDAG<(ins "Value":$gridSizeX, "Value":$gridSizeY,
|
/external/llvm-project/mlir/lib/Conversion/GPUCommon/ |
D | ConvertLaunchFuncToRuntimeCalls.cpp | 624 launchOp.gridSizeY(), launchOp.gridSizeZ(), in matchAndRewrite()
|
/external/llvm-project/llvm/docs/ |
D | NVPTXUsage.rst | 720 unsigned gridSizeY = 1; 729 checkCudaErrors(cuLaunchKernel(function, gridSizeX, gridSizeY, gridSizeZ,
|
/external/llvm/docs/ |
D | NVPTXUsage.rst | 728 unsigned gridSizeY = 1; 737 checkCudaErrors(cuLaunchKernel(function, gridSizeX, gridSizeY, gridSizeZ,
|