Home
last modified time | relevance | path

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

1234567891011

/external/trappy/tests/
Dtest_stats.py35 topology = Topology()
36 topology.add_to_level(level, level_groups)
37 check_groups = topology.get_level(level)
39 self.assertTrue(topology.has_level(level))
47 topology = Topology()
48 topology.add_to_level(level, level_groups)
51 self.assertEqual(flattened, topology.flatten())
59 topology = Topology(clusters=clusters)
63 self.assertTrue(topology.has_level("cluster"))
64 self.assertEqual(cluster_groups, topology.get_level("cluster"))
[all …]
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Ddevice_assignment.py25 from tensorflow.contrib.tpu.python.tpu.topology import Topology
52 def __init__(self, topology, core_assignment): argument
65 if not isinstance(topology, Topology):
67 type(topology)))
70 self._topology = topology
72 self._invert_topology(topology))
93 def _invert_topology(self, topology): argument
95 mesh_shape = topology.mesh_shape
98 for task in xrange(topology.device_coordinates.shape[0]):
99 for device in xrange(topology.device_coordinates.shape[1]):
[all …]
Dtpu_system_metadata.py99 topology = None
108 topology = _obtain_topology(master_address, run_config)
114 topology=topology,
139 topology = sess.run(tpu.initialize_system())
140 return topology
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
D__init__.py21 from tensorflow.python.keras._impl.keras.engine.topology import get_source_inputs
22 from tensorflow.python.keras._impl.keras.engine.topology import Input
23 from tensorflow.python.keras._impl.keras.engine.topology import InputLayer
24 from tensorflow.python.keras._impl.keras.engine.topology import InputSpec
25 from tensorflow.python.keras._impl.keras.engine.topology import Layer
/external/valgrind/none/tests/s390x/
Decag.c19 get_level_info(uint64_t topology, unsigned level) in get_level_info() argument
21 return (topology >> (56 - level * 8)) & 0xff; in get_level_info()
28 uint64_t topology; in main() local
30 topology = ecag(0, 0, 0); // get summary in main()
35 unsigned info = get_level_info(topology, level); in main()
Decag.stdout.exp-z131 L1 topology: separate data and instruction; private
8 L2 topology: separate data and instruction; private
15 L3 topology: unified data and instruction; shared
22 L4 topology: unified data and instruction; shared
Decag.stdout.exp-z1961 L1 topology: separate data and instruction; private
8 L2 topology: unified data and instruction; private
15 L3 topology: unified data and instruction; shared
22 L4 topology: unified data and instruction; shared
Decag.stdout.exp-zec121 L1 topology: separate data and instruction; private
8 L2 topology: separate data and instruction; private
15 L3 topology: unified data and instruction; shared
22 L4 topology: unified data and instruction; shared
Decag.stdout.exp-z10ec1 L1 topology: separate data and instruction; private
8 L2 topology: unified data and instruction; private
15 L3 topology: unified data and instruction; shared
/external/trappy/trappy/stats/
DAggregator.py89 def __init__(self, triggers, topology, aggfunc=None): argument
104 self.topology = topology
131 level_groups = self.topology.get_level(level)
170 for node in self.topology.flatten():
/external/tensorflow/tensorflow/python/keras/_impl/keras/
Dmodels.py32 from tensorflow.python.keras._impl.keras.engine import topology
33 from tensorflow.python.keras._impl.keras.engine.topology import Input
34 from tensorflow.python.keras._impl.keras.engine.topology import InputLayer
35 from tensorflow.python.keras._impl.keras.engine.topology import Layer
36 from tensorflow.python.keras._impl.keras.engine.topology import TFBaseLayer
139 topology.save_weights_to_hdf5_group(model_weights_group, model_layers)
252 topology.load_weights_from_hdf5_group(f['model_weights'], model.layers)
509 self.inputs = topology.get_source_inputs(self.outputs[0])
513 topology.Node(
683 topology.load_weights_from_hdf5_group_by_name(f, layers)
[all …]
/external/bart/tests/
Dtest_sched_assert.py35 self.topology = Topology(clusters=self.clusters)
51 s = SchedAssert(r, self.topology, execname=process)
77 sa = SchedAssert("trace.dat", self.topology, execname="ls")
86 self.topology = Topology(clusters=self.clusters)
101 sma = SchedMultiAssert(tr, self.topology, pids=pids)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.cpp841 switch (pState->state.topology) in SetupPipeline()
993 PRIMITIVE_TOPOLOGY topology) in MaxVertsPerDraw() argument
1004 switch (topology) in MaxVertsPerDraw()
1045 uint32_t vertsPerPrim = topology - TOP_PATCHLIST_BASE; in MaxVertsPerDraw()
1074 PRIMITIVE_TOPOLOGY topology, in DrawInstanced() argument
1089 …AR_API_EVENT(DrawInstancedEvent(pDC->drawId, topology, numVertices, startVertex, numInstances, sta… in DrawInstanced()
1091 uint32_t maxVertsPerDraw = MaxVertsPerDraw(pDC, numVertices, topology); in DrawInstanced()
1092 uint32_t primsPerDraw = GetNumPrims(topology, maxVertsPerDraw); in DrawInstanced()
1096 pState->topology = topology; in DrawInstanced()
1101 if (topology == TOP_POINT_LIST) in DrawInstanced()
[all …]
Dapi.h457 PRIMITIVE_TOPOLOGY topology,
471 PRIMITIVE_TOPOLOGY topology,
486 PRIMITIVE_TOPOLOGY topology,
502 PRIMITIVE_TOPOLOGY topology,
/external/tensorflow/tensorflow/contrib/tpu/proto/
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.cpp79 virtual void createBufferData (VkPrimitiveTopology topology,
102 virtual void createBufferData (VkPrimitiveTopology topology,
122 virtual void createBufferData (VkPrimitiveTopology topology,
286 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkI… in createBufferData() argument
304 switch (topology) in createBufferData()
340 switch (topology) in createBufferData()
640 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIn… in createBufferData() argument
659 switch (topology) in createBufferData()
681 switch (topology) in createBufferData()
1462 const rr::PrimitiveType topology = mapVkPrimitiveTopology(m_primitiveTopology); in verifyImage() local
[all …]
DvktPipelineMultisampleTests.cpp115 VkPrimitiveTopology topology,
138 VkPrimitiveTopology topology,
162 VkPrimitiveTopology topology,
184 VkPrimitiveTopology topology,
204 VkPrimitiveTopology topology,
226 VkPrimitiveTopology topology,
244 const VkPrimitiveTopology topology,
339 VkPrimitiveTopology topology,
364 VkPrimitiveTopology topology,
388 VkPrimitiveTopology topology,
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp104 vk::VkPrimitiveTopology topology; member
110 : topology (top) in DrawParamsBase()
252 …cess& reference, const tcu::ConstPixelBufferAccess& result, const vk::VkPrimitiveTopology topology) in imageCompare() argument
254 if (topology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in imageCompare()
325 (m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY || in initialize()
326 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY || in initialize()
327 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY || in initialize()
328 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY) in initialize()
455 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_data.topology)); in initPipeline()
517 … rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage()
[all …]
DvktDrawSimpleTest.cpp63 …pec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology) in SimpleDraw()
335 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
337 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
345 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
347 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
DvktDrawIndexedTest.cpp71 …pec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology) in DrawIndexed()
371 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
373 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
381 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
383 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_builder_3d.h39 enum gen_3dprim_type topology; member
61 info->topology << GEN6_3DPRIM_DW0_TYPE__SHIFT; in gen6_3DPRIMITIVE()
85 dw[1] = info->topology << GEN7_3DPRIM_DW1_TYPE__SHIFT; in gen7_3DPRIMITIVE()
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp115 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float … in genVertices() argument
126 switch (topology) in genVertices()
347 void initPrograms (SourceCollections& programCollection, const VkPrimitiveTopology topology) in initPrograms() argument
349 const float pointSize = (topology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST ? 1.0f : 0.0f); in initPrograms()
365 tcu::TestStatus testPrimitivesInside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesInside() argument
369 switch (topology) in testPrimitivesInside()
420 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0… in testPrimitivesInside()
421 DrawState drawState (topology, RENDER_SIZE, RENDER_SIZE); in testPrimitivesInside()
437 tcu::TestStatus testPrimitivesOutside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesOutside() argument
462 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0… in testPrimitivesOutside()
[all …]
/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/deqp/external/vulkancts/modules/vulkan/
DvktDrawUtil.cpp301 std::string getPrimitiveTopologyShortName (const VkPrimitiveTopology topology) in getPrimitiveTopologyShortName() argument
303 std::string name(getPrimitiveTopologyName(topology)); in getPrimitiveTopologyShortName()
308 : topology (topology_) in DrawState()
350 …rr::PrimitiveList(mapVkPrimitiveToRRPrimitive(m_drawState.topology), (int)m_drawCallData.vertices.… in draw()
553 …DE_ASSERT(m_drawState.topology != VK_PRIMITIVE_TOPOLOGY_PATCH_LIST || m_drawState.numPatchControlP… in VulkanDrawContext()
585 m_drawState.topology, // VkPrimitiveTopology topology; in VulkanDrawContext()
727 (m_drawState.topology != VK_PRIMITIVE_TOPOLOGY_PATCH_LIST) || in VulkanDrawContext()
730 const bool tessellationEnabled = (m_drawState.topology == VK_PRIMITIVE_TOPOLOGY_PATCH_LIST); in VulkanDrawContext()
/external/lisa/libs/utils/
Dtest.py140 self.get_trace(experiment).ftrace, self.te.topology, execname=task)
152 self.te.topology,
200 sched_assert = SchedAssert(ftrace, self.te.topology, execname=task)

1234567891011