Home
last modified time | relevance | path

Searched refs:dst_cpu (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Dcl_test.cc50 const std::vector<TensorFloat32*>& dst_cpu) { in ExecuteGPUOperation() argument
71 std::vector<Tensor> dst(dst_cpu.size()); in ExecuteGPUOperation()
72 for (int i = 0; i < dst_cpu.size(); ++i) { in ExecuteGPUOperation()
92 for (int i = 0; i < dst_cpu.size(); ++i) { in ExecuteGPUOperation()
93 dst_cpu[i]->shape = dst_sizes[i]; in ExecuteGPUOperation()
94 dst_cpu[i]->data = std::vector<float>(dst_sizes[i].DimensionsProduct(), 0); in ExecuteGPUOperation()
95 RETURN_IF_ERROR(dst[i].ReadData(creation_context.queue, dst_cpu[i])); in ExecuteGPUOperation()
104 const std::vector<TensorFloat32*>& dst_cpu) { in ExecuteGPUOperation() argument
119 std::vector<Tensor> dst(dst_cpu.size()); in ExecuteGPUOperation()
120 for (int i = 0; i < dst_cpu.size(); ++i) { in ExecuteGPUOperation()
[all …]
Dcl_test.h57 const std::vector<TensorFloat32*>& dst_cpu) override;
97 const std::vector<TensorFloat32*>& dst_cpu);
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/
Dtest_util.cc67 const std::vector<TensorFloat32*>& dst_cpu) { in ExecuteGPUOperation() argument
81 std::vector<MetalSpatialTensor> dst(dst_cpu.size()); in ExecuteGPUOperation()
82 for (int i = 0; i < dst_cpu.size(); ++i) { in ExecuteGPUOperation()
98 for (int i = 0; i < dst_cpu.size(); ++i) { in ExecuteGPUOperation()
111 for (int i = 0; i < dst_cpu.size(); ++i) { in ExecuteGPUOperation()
112 dst_cpu[i]->shape = dst_sizes[i]; in ExecuteGPUOperation()
113 dst_cpu[i]->data = std::vector<float>(dst_sizes[i].DimensionsProduct(), 0); in ExecuteGPUOperation()
114 RETURN_IF_ERROR(dst[i].ReadData(device_.device(), dst_cpu[i])); in ExecuteGPUOperation()
Dtest_util.h51 const std::vector<TensorFloat32*>& dst_cpu) override;
/external/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c209 struct cpu_texture src_cpu, dst_cpu; in r600_test_dma() local
280 alloc_cpu_texture(&dst_cpu, &tdst, bpp); in r600_test_dma()
295 memset(dst_cpu.ptr, 0, dst_cpu.layer_stride * tdst.array_size); in r600_test_dma()
370 util_copy_box(dst_cpu.ptr, tdst.format, dst_cpu.stride, in r600_test_dma()
371 dst_cpu.layer_stride, in r600_test_dma()
378 pass = compare_textures(ctx, dst, &dst_cpu, bpp); in r600_test_dma()
392 free(dst_cpu.ptr); in r600_test_dma()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c204 struct cpu_texture src_cpu, dst_cpu; in si_test_dma() local
279 alloc_cpu_texture(&dst_cpu, &tdst); in si_test_dma()
295 memset(dst_cpu.ptr, 0, dst_cpu.layer_stride * tdst.array_size); in si_test_dma()
368 util_copy_box(dst_cpu.ptr, tdst.format, dst_cpu.stride, dst_cpu.layer_stride, dstx, dsty, in si_test_dma()
373 pass = compare_textures(ctx, dst, &dst_cpu); in si_test_dma()
386 free(dst_cpu.ptr); in si_test_dma()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sched/sched_stick_numa/
Dformat14 field:int dst_cpu; offset:28; size:4; signed:1;
17 …id=%d src_cpu=%d src_nid=%d dst_cpu=%d dst_nid=%d", REC->pid, REC->tgid, REC->ngid, REC->src_cpu, …
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sched/sched_move_numa/
Dformat14 field:int dst_cpu; offset:28; size:4; signed:1;
17 …id=%d src_cpu=%d src_nid=%d dst_cpu=%d dst_nid=%d", REC->pid, REC->tgid, REC->ngid, REC->src_cpu, …
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sched/sched_swap_numa/
Dformat17 field:int dst_cpu; offset:40; size:4; signed:1;
20dst_cpu=%d dst_nid=%d", REC->src_pid, REC->src_tgid, REC->src_ngid, REC->src_cpu, REC->src_nid, RE…
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dtesting_util.h49 const std::vector<TensorFloat32*>& dst_cpu) = 0;
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sched/sched_energy_diff/
Dformat23 print fmt: "pid=%d comm=%s src_cpu=%d dst_cpu=%d usage_delta=%d nrg_before=%d nrg_after=%d nrg_diff…
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle.cc977 const bool dst_cpu = dstd->tensorflow_gpu_device_info() == nullptr; in CopyToDevice() local
980 (srcd == dstd) || (srcd->name() == dstd->name()) || (dst_cpu && src_cpu); in CopyToDevice()
988 if (!dst_cpu && (src->dtype() != tensorflow::DT_VARIANT && in CopyToDevice()
1009 if (!dst_cpu) { in CopyToDevice()