Home
last modified time | relevance | path

Searched refs:host_alloc_attrs (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_composition_test.cc76 AllocatorAttributes host_alloc_attrs; in RunComposedOp() local
77 host_alloc_attrs.set_gpu_compatible(true); in RunComposedOp()
78 host_alloc_attrs.set_on_host(true); in RunComposedOp()
79 Allocator* cpu_allocator = device_->GetAllocator(host_alloc_attrs); in RunComposedOp()
/external/tensorflow/tensorflow/core/kernels/
Dstack.cc253 AllocatorAttributes host_alloc_attrs; in ComputeAsync() local
254 host_alloc_attrs.set_gpu_compatible(true); in ComputeAsync()
255 host_alloc_attrs.set_on_host(true); in ComputeAsync()
256 Allocator* cpu_allocator = device->GetAllocator(host_alloc_attrs); in ComputeAsync()
/external/tensorflow/tensorflow/core/common_runtime/
Dcopy_tensor.cc220 AllocatorAttributes host_alloc_attrs; in ViaDMA() local
221 host_alloc_attrs.set_gpu_compatible(true); in ViaDMA()
222 host_alloc_attrs.set_on_host(true); in ViaDMA()
223 Allocator* cpu_allocator = src->GetAllocator(host_alloc_attrs); in ViaDMA()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc421 AllocatorAttributes host_alloc_attrs; in Compute() local
422 host_alloc_attrs.set_gpu_compatible(true); in Compute()
423 host_alloc_attrs.set_on_host(true); in Compute()
424 Allocator* cpu_allocator = ctx->device()->GetAllocator(host_alloc_attrs); in Compute()