Home
last modified time | relevance | path

Searched refs:global_id (Results 1 – 25 of 32) sorted by relevance

12

/external/perfetto/test/trace_processor/track_event/
Dlegacy_async_event.textproto41 global_id: 1234
55 global_id: 1234
69 global_id: 1234
87 global_id: 1234
108 global_id: 1234
129 global_id: 1234
Dtrack_event_merged_debug_annotations.textproto85 global_id: 1234
130 global_id: 1234
/external/tensorflow/tensorflow/core/graph/
Dcostmodel.cc60 const int global_id = Id(n); in MergeFromLocal() local
61 if (local_id < 0 || global_id < 0) continue; in MergeFromLocal()
63 Ensure(global_id, num_slots); in MergeFromLocal()
64 count_[global_id] += cm.count_[local_id]; in MergeFromLocal()
65 time_[global_id] += cm.time_[local_id]; in MergeFromLocal()
67 if (slot_bytes_[global_id].empty()) { in MergeFromLocal()
68 slot_bytes_[global_id].resize(num_slots); in MergeFromLocal()
70 CHECK_EQ(num_slots, slot_bytes_[global_id].size()); in MergeFromLocal()
73 slot_bytes_[global_id][s] += cm.slot_bytes_[local_id][s]; in MergeFromLocal()
110 int32 global_id = iter->second; in MergeFromStats() local
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Dsegment_ttck.cl45 uint const global_id = get_global_id(0);
46 uint const gmem_base = (global_id >> HS_SLAB_WIDTH_LOG2) * HS_SLAB_KEYS;
47 uint const gmem_idx = gmem_base + (global_id & HS_LANE_MASK);
48 uint const lane_idx = gmem_base + (global_id & HS_LANE_MASK) * HS_SLAB_HEIGHT;
Dsegment_ttrk.cl122 uint const global_id = get_global_id(0);
123 uint const gmem_base = (global_id >> HS_SLAB_WIDTH_LOG2) * HS_SLAB_KEYS;
124 uint const gmem_idx = gmem_base + (global_id & HS_LANE_MASK);
125 uint const gmem_off = (global_id & HS_LANE_MASK) * HS_SLAB_HEIGHT;
/external/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c69 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_nir_itob_compute_shader() local
89 nir_ssa_def *img_coord = nir_iadd(&b, global_id, &offset->dest.ssa); in build_nir_itob_compute_shader()
108 nir_ssa_def *pos_x = nir_channel(&b, global_id, 0); in build_nir_itob_compute_shader()
109 nir_ssa_def *pos_y = nir_channel(&b, global_id, 1); in build_nir_itob_compute_shader()
298 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_nir_btoi_compute_shader() local
316 nir_ssa_def *pos_x = nir_channel(&b, global_id, 0); in build_nir_btoi_compute_shader()
317 nir_ssa_def *pos_y = nir_channel(&b, global_id, 1); in build_nir_btoi_compute_shader()
324 nir_ssa_def *img_coord = nir_iadd(&b, global_id, &offset->dest.ssa); in build_nir_btoi_compute_shader()
520 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_nir_btoi_r32g32b32_compute_shader() local
546 nir_ssa_def *pos_x = nir_channel(&b, global_id, 0); in build_nir_btoi_r32g32b32_compute_shader()
[all …]
Dradv_query.c182 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_occlusion_query_shader() local
183 global_id = nir_channel(&b, global_id, 0); // We only care about x here. in build_occlusion_query_shader()
186 nir_ssa_def *input_base = nir_imul(&b, input_stride, global_id); in build_occlusion_query_shader()
188 nir_ssa_def *output_base = nir_imul(&b, output_stride, global_id); in build_occlusion_query_shader()
346 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_pipeline_statistics_query_shader() local
347 global_id = nir_channel(&b, global_id, 0); // We only care about x here. in build_pipeline_statistics_query_shader()
350 nir_ssa_def *input_base = nir_imul(&b, input_stride, global_id); in build_pipeline_statistics_query_shader()
352 nir_ssa_def *output_base = nir_imul(&b, output_stride, global_id); in build_pipeline_statistics_query_shader()
356 nir_imul(&b, global_id, nir_imm_int(&b, 4))); in build_pipeline_statistics_query_shader()
552 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_tfb_query_shader() local
[all …]
Dradv_meta_fmask_expand.c67 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_fmask_expand_compute_shader() local
80 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, global_id, 0x3)); in build_fmask_expand_compute_shader()
101 store->src[1] = nir_src_for_ssa(global_id); in build_fmask_expand_compute_shader()
Dradv_meta_buffer.c25 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_buffer_fill_shader() local
27 nir_ssa_def *offset = nir_imul(&b, global_id, nir_imm_int(&b, 16)); in build_buffer_fill_shader()
73 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_buffer_copy_shader() local
75 nir_ssa_def *offset = nir_imul(&b, global_id, nir_imm_int(&b, 16)); in build_buffer_copy_shader()
Dradv_meta_resolve_cs.c102 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_resolve_compute_shader() local
120 nir_ssa_def *img_coord = nir_channels(&b, nir_iadd(&b, global_id, &src_offset->dest.ssa), 0x3); in build_resolve_compute_shader()
130 nir_ssa_def *coord = nir_iadd(&b, global_id, &dst_offset->dest.ssa); in build_resolve_compute_shader()
204 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_depth_stencil_resolve_compute_shader() local
222 nir_ssa_def *img_coord = nir_channels(&b, nir_iadd(&b, global_id, &src_offset->dest.ssa), 0x3); in build_depth_stencil_resolve_compute_shader()
290 nir_ssa_def *coord = nir_iadd(&b, global_id, &dst_offset->dest.ssa); in build_depth_stencil_resolve_compute_shader()
Dradv_meta_fast_clear.c67 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); in build_dcc_decompress_compute_shader() local
74 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, global_id, 3)); in build_dcc_decompress_compute_shader()
93 store->src[1] = nir_src_for_ssa(global_id); in build_dcc_decompress_compute_shader()
/external/OpenCL-CTS/test_conformance/SVM/
Dmain.cpp123 pNode->global_id = i; in create_linked_lists()
129 pNew->global_id = i; in create_linked_lists()
148 if( pNode->global_id == i && pNode->position_in_list == j) in verify_linked_lists()
Dcommon.h71 cl_int global_id; member
/external/mesa3d/src/compiler/nir/
Dnir_lower_system_values.c387 … nir_ssa_def *global_id = nir_isub(b, nir_load_global_invocation_id(b, bit_size), global_base_id); in lower_compute_system_value_instr() local
392 index = nir_imul(b, nir_channel(b, global_id, 2), in lower_compute_system_value_instr()
394 index = nir_iadd(b, nir_channel(b, global_id, 1), index); in lower_compute_system_value_instr()
396 index = nir_iadd(b, nir_channel(b, global_id, 0), index); in lower_compute_system_value_instr()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_replication_analysis.cc74 bool global_id; in DetermineHloInstructionIsReplicated() local
76 global_id = Cast<HloAllReduceInstruction>(hlo)->use_global_device_ids(); in DetermineHloInstructionIsReplicated()
78 global_id = Cast<HloAllGatherInstruction>(hlo)->use_global_device_ids(); in DetermineHloInstructionIsReplicated()
80 if (global_id) { in DetermineHloInstructionIsReplicated()
Dall_gather_decomposer_test.cc149 auto global_id = in TEST_F() local
152 op::Reshape(op::DynamicSlice(op::Constant(), global_id))); in TEST_F()
Dall_gather_decomposer.cc108 auto global_id = comp->AddInstruction(HloInstruction::CreateBinary( in DecomposeAllGather() local
112 shard_id = shard_id_from_subgroup(global_id); in DecomposeAllGather()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dobject.h179 inline Object MakePHWC4Ref(uint32_t global_id, const BHWC& shape) { in MakePHWC4Ref() argument
180 return MakeObjectRef(global_id, GetPHWC4Size(shape), AccessType::READ_WRITE); in MakePHWC4Ref()
Dcompiled_model.fbs139 global_id:uint32;
/external/wayland/tests/
Ddisplay-test.c1540 uint32_t global_id = 0, saved_global_id; in global_remove_before_client() local
1547 &global_id); in global_remove_before_client()
1551 assert(global_id != 0); in global_remove_before_client()
1552 saved_global_id = global_id; in global_remove_before_client()
1562 assert(global_id == 0); in global_remove_before_client()
1590 uint32_t global_id = 0; in global_remove_after_client() local
1596 &global_id); in global_remove_after_client()
/external/libchrome/base/trace_event/
Dtrace_event.h557 WithScope(const char* scope, GlobalId global_id) in WithScope() argument
558 : scope_(scope), raw_id_(global_id.raw_id()) { in WithScope()
565 WithScope(const char* scope, unsigned long long prefix, GlobalId global_id) in WithScope() argument
569 raw_id_(global_id.raw_id()) { in WithScope()
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc813 BufferID global_id = buffer_ids_.Allocate(); in EnableTracing() local
814 if (!global_id) { in EnableTracing()
818 tracing_session->buffers_index.push_back(global_id); in EnableTracing()
826 global_id, TraceBuffer::Create(buf_size_bytes, policy)); in EnableTracing()
843 for (BufferID global_id : tracing_session->buffers_index) { in EnableTracing() local
844 buffer_ids_.Free(global_id); in EnableTracing()
845 buffers_.erase(global_id); in EnableTracing()
2512 BufferID global_id = tracing_session->buffers_index[relative_buffer_id]; in SetupDataSource() local
2513 PERFETTO_DCHECK(global_id); in SetupDataSource()
2514 ds_config.set_target_buffer(global_id); in SetupDataSource()
[all …]
/external/perfetto/include/perfetto/tracing/
Dtrack_event_legacy.h226 WithScope(const char* scope, GlobalId global_id) in WithScope() argument
227 : scope_(scope), raw_id_(global_id.raw_id()) { in WithScope()
232 WithScope(const char* scope, uint64_t prefix, GlobalId global_id) in WithScope() argument
236 raw_id_(global_id.raw_id()) { in WithScope()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dinference_context.cc279 auto global_id = tensor_reserver_.Add({t.first, t.second}); in Compile() local
280 mapping_to_global_ids[j] = global_id; in Compile()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dinference_context.cc371 auto global_id = tensor_reserver_.Add({t.first, t.second}); in ConvertOperations() local
372 mapping_to_global_ids[j] = global_id; in ConvertOperations()

12