Home
last modified time | relevance | path

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

12345678910>>...12

/external/cpuinfo/src/x86/
Dtopology.c21 struct cpuinfo_x86_topology* topology) in cpuinfo_x86_detect_topology() argument
49 topology->core_bits_length = bit_length(cores_per_processor); in cpuinfo_x86_detect_topology()
58 topology->core_bits_length = bit_length(cores_per_processor); in cpuinfo_x86_detect_topology()
70 …const uint32_t log2_max_threads_per_core = log2_max_logical_processors - topology->core_bits_lengt… in cpuinfo_x86_detect_topology()
71 topology->core_bits_offset = log2_max_threads_per_core; in cpuinfo_x86_detect_topology()
72 topology->thread_bits_length = log2_max_threads_per_core; in cpuinfo_x86_detect_topology()
87 topology->thread_bits_offset = topology->thread_bits_length = 0; in cpuinfo_x86_detect_topology()
88 topology->core_bits_offset = topology->core_bits_length = 0; in cpuinfo_x86_detect_topology()
102 topology->thread_bits_offset = total_shift; in cpuinfo_x86_detect_topology()
103 topology->thread_bits_length = level_shift; in cpuinfo_x86_detect_topology()
[all …]
/external/mesa3d/src/intel/dev/
Dgen_device_info.c1052 const struct drm_i915_query_topology_info *topology) in update_from_topology() argument
1056 devinfo->subslice_slice_stride = topology->subslice_stride; in update_from_topology()
1058 devinfo->eu_subslice_stride = DIV_ROUND_UP(topology->max_eus_per_subslice, 8); in update_from_topology()
1059 devinfo->eu_slice_stride = topology->max_subslices * devinfo->eu_subslice_stride; in update_from_topology()
1061 assert(sizeof(devinfo->slice_masks) >= DIV_ROUND_UP(topology->max_slices, 8)); in update_from_topology()
1062 memcpy(&devinfo->slice_masks, topology->data, DIV_ROUND_UP(topology->max_slices, 8)); in update_from_topology()
1066 topology->max_slices * topology->subslice_stride; in update_from_topology()
1068 memcpy(devinfo->subslice_masks, &topology->data[topology->subslice_offset], in update_from_topology()
1072 for (int s = 0; s < topology->max_slices; s++) { in update_from_topology()
1113 topology->eu_stride * topology->max_subslices * topology->max_slices; in update_from_topology()
[all …]
/external/tensorflow/tensorflow/python/tpu/
Ddevice_assignment.py29 from tensorflow.python.tpu.topology import Topology
36 def _compute_task_and_cores_to_replicas(core_assignment, topology): argument
42 task_id = topology.task_ordinal_at_coordinates(coordinates)
70 def __init__(self, topology: Topology, core_assignment: np.ndarray):
83 if not isinstance(topology, Topology):
85 type(topology)))
88 self._topology = topology
97 if core_assignment.shape[-1] != topology.mesh_rank:
100 "rank ({}), got shape {}".format(topology.mesh_rank,
105 self._core_assignment, topology)
[all …]
Dtpu_system_metadata.py65 def __new__(cls, num_cores, num_hosts, num_of_cores_per_host, topology, argument
69 topology, devices)
132 topology = None
141 topology = _obtain_topology(master_address, cluster_def)
155 topology=topology,
182 topology = sess.run(tpu.initialize_system())
183 return topology
Dtopology_test.py23 from tensorflow.python.tpu import topology
30 original_topology = topology.Topology(
35 new_topology = topology.Topology(serialized=serialized_str)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtpu_cluster_formation.mlir9 …tpu_replicate = "replicate", device = "device", num_replicas = 1, topology = "topology"} : () -> ()
25 … "replicate", device = "device", name = "name", num_replicas = 1, topology = "topology"} : () -> ()
37 …tpu_replicate = "replicate", device = "device", num_replicas = 1, topology = "topology"} : () -> ()
52 …tpu_replicate = "replicate", device = "device", num_replicas = 1, topology = "topology"} : () -> ()
69 // CHECK-SAME: topology = "topology"
83 …tpu_replicate = "replicate", device = "device", num_replicas = 1, topology = "topology"} : () -> ()
93 // CHECK-SAME: topology = "topology"
108 …tpu_replicate = "replicate", device = "device", num_replicas = 1, topology = "topology"} : () -> ()
119 // CHECK-SAME: topology = "topology"
127 …{_tpu_replicate = "replicate_1", device = "device_1", num_replicas = 1, topology = "topology_1"} :…
[all …]
Dtpu_extract_head_tail_outside_compilation.mlir23 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
44 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
67 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
87 // CHECK-DAG: topology = ""
94 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
118 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
144 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
166 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
182 // CHECK-DAG: topology = ""
195 …}) {num_cores_per_replica = 1, step_marker_location = "", padding_map = [], topology = "", device_…
[all …]
Doutside_compiled_to_host_launch.mlir13 }) {num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> tensor<?xi32>
28 // CHECK: device_assignment = [], num_cores_per_replica = 1 : i64, topology = ""
34 }) {num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> ()
51 // CHECK: device_assignment = [], num_cores_per_replica = 1 : i64, topology = ""
59 }) {num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> ()
83 }) {num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> tensor<?xi32>
118 }) {num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> tensor<?xi32>
/external/tensorflow/tensorflow/compiler/xla/pjrt/distributed/
Dclient_server_test.cc53 GlobalTopologyProto topology; in TEST() local
140 GlobalTopologyProto topology; in TEST() local
142 TF_RETURN_IF_ERROR(client.EnumerateDevices(locals[0], &topology)); in TEST()
144 xla::protobuf_util::ProtobufEquals(topology, expected_topology)) in TEST()
145 << topology.DebugString(); in TEST()
158 GlobalTopologyProto topology; in TEST() local
160 TF_RETURN_IF_ERROR(client.EnumerateDevices(locals[1], &topology)); in TEST()
162 xla::protobuf_util::ProtobufEquals(topology, expected_topology)) in TEST()
163 << topology.DebugString(); in TEST()
207 GlobalTopologyProto topology; in TEST() local
[all …]
/external/swiftshader/src/Device/
DContext.cpp24 uint32_t ComputePrimitiveCount(VkPrimitiveTopology topology, uint32_t vertexCount) in ComputePrimitiveCount() argument
26 switch(topology) in ComputePrimitiveCount()
41 UNSUPPORTED("VkPrimitiveTopology %d", int(topology)); in ComputePrimitiveCount()
49 VkPrimitiveTopology topology, in ProcessPrimitiveRestart() argument
63 uint32_t primitiveCount = ComputePrimitiveCount(topology, vertexCount); in ProcessPrimitiveRestart()
84 uint32_t primitiveCount = ComputePrimitiveCount(topology, vertexCount); in ProcessPrimitiveRestart()
107 void IndexBuffer::getIndexBuffers(VkPrimitiveTopology topology, uint32_t count, uint32_t first, boo… in getIndexBuffers() argument
118 ProcessPrimitiveRestart(static_cast<uint16_t *>(indexBuffer), topology, count, indexBuffers); in getIndexBuffers()
121 ProcessPrimitiveRestart(static_cast<uint32_t *>(indexBuffer), topology, count, indexBuffers); in getIndexBuffers()
129 indexBuffers->push_back({ ComputePrimitiveCount(topology, count), indexBuffer }); in getIndexBuffers()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp84 virtual void createBufferData (VkPrimitiveTopology topology,
108 virtual void createBufferData (VkPrimitiveTopology topology,
128 virtual void createBufferData (VkPrimitiveTopology topology,
327 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkI… in createBufferData() argument
345 switch (topology) in createBufferData()
381 switch (topology) in createBufferData()
681 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIn… in createBufferData() argument
700 switch (topology) in createBufferData()
722 switch (topology) in createBufferData()
1377 const rr::PrimitiveType topology = mapVkPrimitiveTopology(m_primitiveTopology); in verifyImage() local
[all …]
/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/draw/
DvktDrawIndirectTest.cpp250 …pec.shaders[glu::SHADERTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.topology) in IndirectDraw()
1036 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1038 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1042 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1044 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1048 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1050 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1067 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1069 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1073 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
[all …]
DvktBasicDrawTests.cpp107 vk::VkPrimitiveTopology topology; member
113 : topology (top) in DrawParamsBase()
255 …cess& reference, const tcu::ConstPixelBufferAccess& result, const vk::VkPrimitiveTopology topology) in imageCompare() argument
257 if (topology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in imageCompare()
431 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_data.topology)); in initPipeline()
492 … rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage()
574 if (m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY || in checkSupport()
575 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY || in checkSupport()
576 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY || in checkSupport()
577 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY) in checkSupport()
[all …]
DvktDrawMultipleClearsWithinRenderPass.cpp127 VkPrimitiveTopology topology; member
172 Topology topology; member
216 const auto& vertexData = verticesByTopology[(size_t)m_params.topology]; in MultipleClearsTest()
344 pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(vertexData.topology)); in MultipleClearsTest()
362 const auto& vertexData = verticesByTopology[(size_t)m_params.topology]; in clearAttachments()
612 for(const auto &topology : topologiesToTest) in init() local
614 …const string testNameSuffix = formatSuffix.str() + verticesByTopology[(deUint32)topology].testName… in init()
620 topology, // Topology topology; in init()
640 topology, // Topology topology; in init()
660 topology, // Topology topology; in init()
[all …]
/external/tensorflow/third_party/hwloc/
DBUILD.bazel242 "hwloc/topology.c",
243 "hwloc/topology-hardwired.c",
244 "hwloc/topology-noos.c",
245 "hwloc/topology-synthetic.c",
246 "hwloc/topology-xml.c",
247 "hwloc/topology-xml-nolibxml.c",
260 "hwloc/topology-linux.c",
262 "hwloc/topology-x86.c",
266 "hwloc/topology-linux.c",
270 "hwloc/topology-freebsd.c",
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/
Dexecutor_tpuv1_outline_tpu_island.mlir11 …tpu_replicate = "replicate", device = "device", num_replicas = 1, topology = "topology"} : () -> ()
37 …tpu_replicate = "replicate", device = "device", num_replicas = 1, topology = "topology"} : () -> ()
/external/autotest/server/cros/servo/topology/
Dservo_topology.py19 from autotest_lib.server.cros.servo.topology import topology_constants as stc
226 topology = {
230 logging.debug('Servo topology: %s', topology)
231 return topology
315 def _convert_topology_to_string(topology): argument
323 if not topology:
327 json_string = json.dumps(topology, separators=(',', ':'))
/external/cpuinfo/src/mach/
Dtopology.c45 struct cpuinfo_mach_topology topology = { in cpuinfo_mach_detect_topology() local
67 topology.threads_per_cache[i] = cacheconfig[i]; in cpuinfo_mach_detect_topology()
72 return topology; in cpuinfo_mach_detect_topology()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.cpp899 switch (pState->state.topology) in SetupPipeline()
1098 uint32_t MaxVertsPerDraw(DRAW_CONTEXT* pDC, uint32_t totalVerts, PRIMITIVE_TOPOLOGY topology) in MaxVertsPerDraw() argument
1110 if (topology == TOP_RECT_LIST) in MaxVertsPerDraw()
1123 switch (topology) in MaxVertsPerDraw()
1164 uint32_t vertsPerPrim = topology - TOP_PATCHLIST_BASE; in MaxVertsPerDraw()
1186 PRIMITIVE_TOPOLOGY topology, in DrawInstanced() argument
1202 uint32_t maxVertsPerDraw = MaxVertsPerDraw(pDC, numVertices, topology); in DrawInstanced()
1203 uint32_t primsPerDraw = GetNumPrims(topology, maxVertsPerDraw); in DrawInstanced()
1207 pState->topology = topology; in DrawInstanced()
1212 if (topology == TOP_POINT_LIST) in DrawInstanced()
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_nir.h48 struct ir3_shader_variant *v, unsigned topology);
50 void ir3_nir_lower_tess_ctrl(nir_shader *shader, struct ir3_shader_variant *v, unsigned topology);
51 void ir3_nir_lower_tess_eval(nir_shader *shader, struct ir3_shader_variant *v, unsigned topology);
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DConfigureDistributedTPU.pbtxt4 name: "topology"
33 name: "topology"
69 name: "topology"
/external/arm-trusted-firmware/plat/arm/css/sgm/
Dsgm_topology.c16 return get_plat_config()->topology->power_tree; in plat_get_power_domain_tree_desc()
25 return get_plat_config()->topology->plat_cluster_core_count; in plat_arm_get_cluster_core_count()
/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…

12345678910>>...12