/external/tensorflow/tensorflow/core/graph/ |
costmodel.cc | 58 const int global_id = Id(n); local 59 if (local_id < 0 || global_id < 0) continue; 61 Ensure(global_id, num_slots); 62 count_[global_id] += cm.count_[local_id]; 63 time_[global_id] += cm.time_[local_id]; 65 if (slot_bytes_[global_id].empty()) { 66 slot_bytes_[global_id].resize(num_slots); 68 CHECK_EQ(num_slots, slot_bytes_[global_id].size()); 71 slot_bytes_[global_id][s] += cm.slot_bytes_[local_id][s]; 108 int32 global_id = iter->second local [all...] |
/external/mesa3d/src/amd/vulkan/ |
radv_meta_buffer.c | 31 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 33 nir_ssa_def *offset = nir_imul(&b, global_id, nir_imm_int(&b, 16)); 83 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 85 nir_ssa_def *offset = nir_imul(&b, global_id, nir_imm_int(&b, 16));
|
radv_meta_fast_clear.c | 68 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 74 tex->src[0].src = nir_src_for_ssa(nir_channels(&b, global_id, 3)); 94 store->src[0] = nir_src_for_ssa(global_id);
|
radv_meta_resolve_cs.c | 109 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 127 nir_ssa_def *img_coord = nir_channels(&b, nir_iadd(&b, global_id, &src_offset->dest.ssa), 0x3); 137 nir_ssa_def *coord = nir_iadd(&b, global_id, &dst_offset->dest.ssa);
|
radv_meta_bufimage.c | 70 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 90 nir_ssa_def *img_coord = nir_iadd(&b, global_id, &offset->dest.ssa); 107 nir_ssa_def *pos_x = nir_channel(&b, global_id, 0); 108 nir_ssa_def *pos_y = nir_channel(&b, global_id, 1); 296 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 314 nir_ssa_def *pos_x = nir_channel(&b, global_id, 0); 315 nir_ssa_def *pos_y = nir_channel(&b, global_id, 1); 322 nir_ssa_def *img_coord = nir_iadd(&b, global_id, &offset->dest.ssa); 516 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 534 nir_ssa_def *src_coord = nir_iadd(&b, global_id, &src_offset->dest.ssa) 724 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local [all...] |
radv_query.c | 100 * uint64_t src_offset = src_stride * global_id.x; 101 * uint64_t dst_offset = dst_stride * global_id.x; 161 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local 162 global_id = nir_channel(&b, global_id, 0); // We only care about x here. 165 nir_ssa_def *input_base = nir_imul(&b, input_stride, global_id); 167 nir_ssa_def *output_base = nir_imul(&b, output_stride, global_id); 290 * uint64_t src_offset = src_stride * global_id.x; 291 * uint64_t dst_base = dst_stride * global_id.x; 295 * uint32_t available = src_buf[avail_offset + 4 * global_id.x] 353 nir_ssa_def *global_id = nir_iadd(&b, nir_imul(&b, wg_id, block_size), invoc_id); local [all...] |
/external/perfetto/src/tracing/core/ |
tracing_service_impl.cc | 436 BufferID global_id = buffer_ids_.Allocate(); local 437 if (!global_id) { 441 tracing_session->buffers_index.push_back(global_id); 449 global_id, TraceBuffer::Create(buf_size_bytes, policy)); 450 PERFETTO_DCHECK(it_and_inserted.second); // buffers_.count(global_id) == 0. 466 for (BufferID global_id : tracing_session->buffers_index) { 467 buffer_ids_.Free(global_id); 468 buffers_.erase(global_id); 1828 BufferID global_id = tracing_session->buffers_index[relative_buffer_id]; local [all...] |