Home
last modified time | relevance | path

Searched refs:topology (Results 1 – 25 of 146) sorted by relevance

123456

/external/tensorflow/tensorflow/python/tpu/
Ddevice_assignment.py25 from tensorflow.python.tpu.topology import Topology
32 def _compute_task_and_cores_to_replicas(core_assignment, topology): argument
38 task_id = topology.task_ordinal_at_coordinates(coordinates)
66 def __init__(self, topology, core_assignment): argument
79 if not isinstance(topology, Topology):
81 type(topology)))
84 self._topology = topology
93 if core_assignment.shape[-1] != topology.mesh_rank:
96 "rank ({}), got shape {}".format(topology.mesh_rank,
101 self._core_assignment, topology)
[all …]
Dtpu_system_metadata.py121 topology = None
130 topology = _obtain_topology(master_address, cluster_def)
144 topology=topology,
171 topology = sess.run(tpu.initialize_system())
172 return topology
Dtopology_test.py23 from tensorflow.python.tpu import topology
30 original_topology = topology.Topology(
35 new_topology = topology.Topology(serialized=serialized_str)
Dtpu_strategy_util.py31 from tensorflow.python.tpu import topology
103 return topology.Topology(serialized=serialized_topology)
/external/tensorflow/tensorflow/core/protobuf/tpu/
Dtopology.proto9 // The dimensions of the TPU topology, in cores. Typically, this is a 3D
10 // topology [x, y, core], where the major dimensions correspond to TPU chips,
24 // in the TPU mesh topology. Each entry [task, device, axis] gives the
25 // `axis`-th coordinate in the topology of a task/device pair.
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp82 virtual void createBufferData (VkPrimitiveTopology topology,
105 virtual void createBufferData (VkPrimitiveTopology topology,
125 virtual void createBufferData (VkPrimitiveTopology topology,
287 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkI… in createBufferData() argument
305 switch (topology) in createBufferData()
341 switch (topology) in createBufferData()
641 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIn… in createBufferData() argument
660 switch (topology) in createBufferData()
682 switch (topology) in createBufferData()
1352 const rr::PrimitiveType topology = mapVkPrimitiveTopology(m_primitiveTopology); in verifyImage() local
[all …]
DvktPipelineMultisampleTests.cpp106 void checkLargePointsSupport (Context& context, VkPrimitiveTopology topology, float pointSize) in checkLargePointsSupport() argument
108 …if (topology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST && pointSize > 1.0f && !context.getDeviceFeatures… in checkLargePointsSupport()
141 VkPrimitiveTopology topology,
169 VkPrimitiveTopology topology,
197 VkPrimitiveTopology topology,
225 VkPrimitiveTopology topology,
249 VkPrimitiveTopology topology,
275 VkPrimitiveTopology topology,
313 const VkPrimitiveTopology topology,
416 VkPrimitiveTopology topology,
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.cpp891 switch (pState->state.topology) in SetupPipeline()
1075 PRIMITIVE_TOPOLOGY topology) in MaxVertsPerDraw() argument
1086 switch (topology) in MaxVertsPerDraw()
1127 uint32_t vertsPerPrim = topology - TOP_PATCHLIST_BASE; in MaxVertsPerDraw()
1156 PRIMITIVE_TOPOLOGY topology, in DrawInstanced() argument
1171 …AR_API_EVENT(DrawInstancedEvent(pDC->drawId, topology, numVertices, startVertex, numInstances, sta… in DrawInstanced()
1173 uint32_t maxVertsPerDraw = MaxVertsPerDraw(pDC, numVertices, topology); in DrawInstanced()
1174 uint32_t primsPerDraw = GetNumPrims(topology, maxVertsPerDraw); in DrawInstanced()
1178 pState->topology = topology; in DrawInstanced()
1183 if (topology == TOP_POINT_LIST) in DrawInstanced()
[all …]
Dapi.h508 PRIMITIVE_TOPOLOGY topology,
522 PRIMITIVE_TOPOLOGY topology,
537 PRIMITIVE_TOPOLOGY topology,
553 PRIMITIVE_TOPOLOGY topology,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp106 vk::VkPrimitiveTopology topology; member
112 : topology (top) in DrawParamsBase()
254 …cess& reference, const tcu::ConstPixelBufferAccess& result, const vk::VkPrimitiveTopology topology) in imageCompare() argument
256 if (topology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in imageCompare()
327 (m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY || in initialize()
328 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY || in initialize()
329 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY || in initialize()
330 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY) in initialize()
442 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_data.topology)); in initPipeline()
503 … rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage()
[all …]
DvktDrawIndirectTest.cpp241 …pec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology) in IndirectDraw()
960 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
962 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
966 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
968 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
983 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
985 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
989 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
991 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1010 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
[all …]
DvktDrawSimpleTest.cpp64 …pec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology) in SimpleDraw()
309 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
311 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
319 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
321 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
DvktDrawIndexedTest.cpp72 …pec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology) in DrawIndexed()
337 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
339 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
347 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
349 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
DvktDrawInstancedTests.cpp68 vk::VkPrimitiveTopology topology; member
107 string << "_" << de::toString(v.topology); in operator <<()
443 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_params.topology)); in InstancedDrawInstance()
616 …const rr::PrimitiveList primitives = rr::PrimitiveList(mapVkPrimitiveTopology(m_params.topology), … in iterate()
625 …const rr::PrimitiveList primitives = rr::PrimitiveList(mapVkPrimitiveTopology(m_params.topology), … in iterate()
640 if (m_params.topology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in iterate()
772 param.topology = topologies[topologyNdx]; in InstancedTests()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.tpu.experimental.-device-assignment.pbtxt18 name: "topology"
23 …argspec: "args=[\'self\', \'topology\', \'core_assignment\'], varargs=None, keywords=None, default…
27 …argspec: "args=[\'topology\', \'computation_shape\', \'computation_stride\', \'num_replicas\'], va…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.tpu.experimental.-device-assignment.pbtxt18 name: "topology"
23 …argspec: "args=[\'self\', \'topology\', \'core_assignment\'], varargs=None, keywords=None, default…
27 …argspec: "args=[\'topology\', \'computation_shape\', \'computation_stride\', \'num_replicas\'], va…
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp117 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float … in genVertices() argument
128 switch (topology) in genVertices()
375 void initPrograms (SourceCollections& programCollection, const VkPrimitiveTopology topology) in initPrograms() argument
377 const float pointSize = (topology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST ? 1.0f : 0.0f); in initPrograms()
393 tcu::TestStatus testPrimitivesInside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesInside() argument
397 switch (topology) in testPrimitivesInside()
452 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0… in testPrimitivesInside()
453 DrawState drawState (topology, RENDER_SIZE, RENDER_SIZE); in testPrimitivesInside()
469 tcu::TestStatus testPrimitivesOutside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesOutside() argument
471 switch (topology) in testPrimitivesOutside()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ConfigureDistributedTPU.pbtxt5 name: "topology"
8 topology.
Dapi_def_TPUReplicate.pbtxt51 name: "topology"
54 topology.
71 the TPU topology.
Dapi_def_TPUReplicateMetadata.pbtxt17 name: "topology"
19 TopologyProto indicating the topology of the TPU pod slice.
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
DREADME47 o Where possible, reuse an existing topology for different tests instead
48 of recreating the same topology.
50 an ASCII art showing the topology.
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp215 std::string getPrimitiveTopologyShortName (const VkPrimitiveTopology topology) in getPrimitiveTopologyShortName() argument
217 std::string name(getPrimitiveTopologyName(topology)); in getPrimitiveTopologyShortName()
222 : topology (topology_) in DrawState()
264 …rr::PrimitiveList(mapVkPrimitiveToRRPrimitive(m_drawState.topology), (int)m_drawCallData.vertices.… in draw()
470 …DE_ASSERT(m_drawState.topology != VK_PRIMITIVE_TOPOLOGY_PATCH_LIST || m_drawState.numPatchControlP… in VulkanDrawContext()
589 (m_drawState.topology != VK_PRIMITIVE_TOPOLOGY_PATCH_LIST) || in VulkanDrawContext()
603 m_drawState.topology, // const VkPrimitiveTopology topology in VulkanDrawContext()
/external/tcpdump/
Dprint-ospf.c624 register int j, tlv_type, tlv_length, topology; in ospf_print_lsa() local
711 topology = (ul & SLA_MASK_TOS) >> SLA_SHIFT_TOS; in ospf_print_lsa()
713 tok2str(ospf_topology_values, "Unknown", topology), in ospf_print_lsa()
714 topology, in ospf_print_lsa()
728 topology = (ul & SLA_MASK_TOS) >> SLA_SHIFT_TOS; in ospf_print_lsa()
730 tok2str(ospf_topology_values, "Unknown", topology), in ospf_print_lsa()
731 topology, in ospf_print_lsa()
750 topology = ((ul & ASLA_MASK_TOS) >> ASLA_SHIFT_TOS); in ospf_print_lsa()
752 tok2str(ospf_topology_values, "Unknown", topology), in ospf_print_lsa()
753 topology, in ospf_print_lsa()
/external/u-boot/doc/SPI/
Dstatus.txt17 - Dual flash connection topology support(accessing two spi flash memories with single cs)
18 - Banking support on dual flash connection topology.
/external/mesa3d/src/gallium/drivers/swr/
Dswr_draw.cpp180 enum pipe_prim_type topology; in swr_draw_vbo() local
182 topology = (pipe_prim_type)ctx->gs->info.base.properties[TGSI_PROPERTY_GS_OUTPUT_PRIM]; in swr_draw_vbo()
184 topology = info->mode; in swr_draw_vbo()
186 switch (topology) { in swr_draw_vbo()

123456