Home
last modified time | relevance | path

Searched refs:numIndices (Results 1 – 25 of 58) sorted by relevance

123

/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/opt/
Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/opt/
H A Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/aosp_15_r20/external/deqp/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp476 int numIndices = getNumIndices(); in init() local
478 DE_ASSERT(numIndices > 0); in init()
481 DE_ASSERT(m_endWithRestart || getIndex(numIndices - 1) != in init()
485 for (int i = 1; i < numIndices; i++) in init()
610 int numIndices = getNumIndices(); in draw() local
611 for (int i = 0; i < numIndices; i++) in draw()
656 int numIndices = getNumIndices(); in renderWithoutRestart() local
658 DE_ASSERT(numIndices >= 0); in renderWithoutRestart()
663 for (int indexArrayNdx = 0; indexArrayNdx <= numIndices; in renderWithoutRestart()
666 if (indexArrayNdx >= numIndices || in renderWithoutRestart()
[all …]
/aosp_15_r20/frameworks/av/media/module/codecserviceregistrant/
H A DCodecServiceRegistrant.cpp313 size_t numIndices = 0; in query_sm_aidl() local
319 indices[numIndices++] = stackParam->index(); in query_sm_aidl()
321 size_t numStackIndices = numIndices; in query_sm_aidl()
323 indices[numIndices++] = static_cast<uint32_t>(index); in query_sm_aidl()
325 indices.resize(numIndices); in query_sm_aidl()
327 heapParams->reserve(heapParams->size() + numIndices); in query_sm_aidl()
360 size_t numIndices = 0; in query_sm_hidl() local
366 indices[numIndices++] = static_cast<c2_hidl::ParamIndex>(stackParam->index()); in query_sm_hidl()
368 size_t numStackIndices = numIndices; in query_sm_hidl()
370 indices[numIndices++] = in query_sm_hidl()
[all …]
/aosp_15_r20/cts/tests/tests/openglperf/src/android/openglperf/cts/
H A DPlanetsRenderer.java207 int[] numIndices = mSpheres[i].getNumIndices(); in onDrawFrame() local
211 for (int j = 0; j < numIndices.length; j++) { in onDrawFrame()
215 numIndices[j], GLES20.GL_UNSIGNED_SHORT, in onDrawFrame()
219 for (int j = 0; j < numIndices.length; j++) { in onDrawFrame()
221 numIndices[j], GLES20.GL_UNSIGNED_SHORT, in onDrawFrame()
411 int[] numIndices = mSpheres[i].getNumIndices(); in createVbo() local
414 for (int j = 0; j < numIndices.length; j++) { in createVbo()
/aosp_15_r20/frameworks/av/media/codec2/hal/hidl/1.0/utils/
H A DInputSurfaceConnection.cpp317 size_t numIndices = 0; in queryFromSink() local
323 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in queryFromSink()
325 size_t numStackIndices = numIndices; in queryFromSink()
327 indices[numIndices++] = in queryFromSink()
330 indices.resize(numIndices); in queryFromSink()
332 heapParams->reserve(heapParams->size() + numIndices); in queryFromSink()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cuda/
H A DEmbeddingBag.cu64 index_t *offset2bag, int64_t numIndices, int64_t numBags, in EmbeddingBag_updateOutputKernel_max() argument
82 int64_t end = (bag < numBags - 1) ? (offsets[bag + 1]) : numIndices; in EmbeddingBag_updateOutputKernel_max()
114 index_t *offset2bag, int64_t numIndices, int64_t numBags, in EmbeddingBag_updateOutputKernel_sum_mean() argument
134 int64_t end = (bag < numBags - 1) ? (offsets[bag + 1]) : numIndices; in EmbeddingBag_updateOutputKernel_sum_mean()
363 int64_t numIndices = indices.size(0); in _embedding_bag_cuda() local
405 offset2bag.mutable_data_ptr<index_t>(), numIndices, numBags, featureSize, in _embedding_bag_cuda()
414 offset2bag.mutable_data_ptr<index_t>(), numIndices, numBags, featureSize, in _embedding_bag_cuda()
H A DIndexing.cu1321 uint64_t numIndices = index.numel(); in index_select_out_cuda_impl() local
1329 …!(self.dim() == 0 && numIndices != 1), "index_select(): Index to scalar can have only 1 value, got… in index_select_out_cuda_impl()
1334 newSize[dim] = numIndices; in index_select_out_cuda_impl()
1356 uint64_t sliceSize = outTotalSize / numIndices; in index_select_out_cuda_impl()
1375 static_cast<TYPE>((IDX_IS_MAJOR) ? sliceSize : numIndices), \ in index_select_out_cuda_impl()
1404 if (numIndices <= 16) { in index_select_out_cuda_impl()
/aosp_15_r20/frameworks/av/media/codec2/hal/client/
H A DApexCodecsLazy.cpp251 size_t numIndices, in ApexCodec_Configurable_query() argument
255 comp, indices, numIndices, config, writtenOrRequested); in ApexCodec_Configurable_query()
261 size_t *numIndices) { in ApexCodec_ParamDescriptors_getIndices() argument
263 descriptors, indices, numIndices); in ApexCodec_ParamDescriptors_getIndices()
H A Dclient.cpp362 size_t numIndices = 0; in query() local
368 indices[numIndices++] = static_cast<c2_hidl::ParamIndex>(stackParam->index()); in query()
370 size_t numStackIndices = numIndices; in query()
372 indices[numIndices++] = in query()
375 indices.resize(numIndices); in query()
377 heapParams->reserve(heapParams->size() + numIndices); in query()
628 size_t numIndices = 0; in query() local
634 indices[numIndices++] = int(stackParam->index()); in query()
636 size_t numStackIndices = numIndices; in query()
638 indices[numIndices++] = int(static_cast<uint32_t>(index)); in query()
[all …]
/aosp_15_r20/external/executorch/backends/apple/mps/runtime/operations/
H A DIndexingOps.mm125 int numIndices = graphNode->indices_id()->size();
128 for (int i = 0; i < numIndices; i++) {
167 int numIndices = graphNode->indices_id()->size();
170 for (int i = 0; i < numIndices; i++) {
/aosp_15_r20/external/deqp/modules/glshared/
H A DglsShaderPerformanceMeasurer.cpp102 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; in generateIndices() local
103 dst.resize(numIndices); in generateIndices()
269 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY); in render() local
274 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL); in render()
/aosp_15_r20/external/angle/src/libANGLE/renderer/
H A Drenderer_utils.h360 uint32_t numIndices = 0; in LineLoopRestartIndexCountHelper() local
369 numIndices++; in LineLoopRestartIndexCountHelper()
375 numIndices += 2; in LineLoopRestartIndexCountHelper()
382 numIndices++; in LineLoopRestartIndexCountHelper()
384 return numIndices; in LineLoopRestartIndexCountHelper()
/aosp_15_r20/frameworks/av/media/module/libapexcodecs/
H A DApexCodecs.cpp107 size_t numIndices, in ApexCodec_Configurable_query() argument
116 size_t *numIndices) { in ApexCodec_ParamDescriptors_getIndices() argument
/aosp_15_r20/frameworks/av/media/module/libapexcodecs/include/apex/
H A DApexCodecs.h632 size_t numIndices,
679 size_t *numIndices) __INTRODUCED_IN(36);
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationCommonEdgeTests.cpp267 const int numIndices = in test() local
274 gridIndices.reserve(numIndices); in test()
327 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices); in test()
/aosp_15_r20/external/autotest/client/deps/webgl_mpd/src/resources/
H A DJ3DI.js232 retval.numIndices = indices.length;
311 retval.numIndices = indexData.length;
507 obj.numIndices = indexArray.length;
/aosp_15_r20/external/deqp/framework/opengl/
H A DgluDrawUtil.cpp125 …IndexBuffer(const RenderContext &context, IndexType indexType, int numIndices, const void *indices…
402 IndexBuffer::IndexBuffer(const RenderContext &context, IndexType indexType, int numIndices, const v… in IndexBuffer() argument
409 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices * getIndexSize(indexType), indices, usage); in IndexBuffer()
/aosp_15_r20/external/lzma/CPP/7zip/UI/Far/
H A DPluginRead.cpp33 UInt32 numIndices, in ExtractFiles() argument
80 return archiveFolder->Extract(indices, numIndices, in ExtractFiles()
H A DPlugin.h70 UInt32 numIndices,
/aosp_15_r20/frameworks/base/core/java/com/android/internal/power/
H A DEnergyConsumerStats.java604 final int numIndices = mConfig.getNumberOfBuckets(); in reset() local
605 for (int index = 0; index < numIndices; index++) { in reset()
/aosp_15_r20/external/skia/src/gpu/ganesh/ops/
H A DAALinearizingConvexPathRenderer.cpp97 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
287 int currentIndices = tess.numIndices(); in onPrepareDraws()
/aosp_15_r20/external/skia/src/gpu/
H A DBufferWriter.h395 IndexWriter makeOffset(int numIndices) const {
396 return this->BufferWriter::makeOffset<IndexWriter>(numIndices * sizeof(uint16_t));
/aosp_15_r20/external/angle/src/libANGLE/renderer/metal/
H A DBufferMtl.mm439 const size_t numIndices = idxBuffer->size() / sizeof(T);
441 for (size_t i = 0; i < numIndices; ++i)
451 } while (i < numIndices && bufferData[i] == restartMarker);

123