Searched refs:default_context (Results 1 – 21 of 21) sorted by relevance
142 src_dev_ctx = dev_info->default_context; in MemCpyAsync()148 dst_dev_ctx = dev_info->default_context; in MemCpyAsync()
289 TF_CHECK_OK(dev_info->default_context->CopyDeviceTensorToCPUSync( in RunTest()364 TF_CHECK_OK(dev_info->default_context->CopyCPUTensorToDeviceSync( in InitTensor()386 dev_ctx = dev_info->default_context; in DoPermute()
453 TF_CHECK_OK(dev_info->default_context->CopyDeviceTensorToCPUSync( in RunTest()482 TF_CHECK_OK(dev_info->default_context->CopyDeviceTensorToCPUSync( in RunTest()622 TF_CHECK_OK(dev_info->default_context->CopyCPUTensorToDeviceSync( in InitTensor()644 dev_ctx = dev_info->default_context; in DoBroadcast()
321 CHECK(dev_info->default_context in RunTest()440 CHECK(dev_info->default_context in InitTensor()464 dev_ctx = dev_info->default_context; in DoGather()
343 CHECK(dev_info->default_context in RunTest()466 CHECK(dev_info->default_context in InitTensor()496 dev_ctx = dev_info->default_context; in DoReduce()
150 Status s = gpu_info->default_context->ThenExecute( in RunAsyncParts()
200 Status s = gpu_info->default_context->ThenExecute( in RunAsyncParts()
259 Status st = gpu_device_info->default_context->CopyDeviceTensorToCPUSync( in TensorDebugString()
179 gpu_device_->tensorflow_gpu_device_info()->default_context; in GPUToCPU()197 gpu_device_->tensorflow_gpu_device_info()->default_context; in CPUToGPU()
202 *device_context = dev_info->default_context; in GetDeviceContext()
89 device_->tensorflow_gpu_device_info()->default_context; in RunComposedOp()
217 TF_CHECK_OK(dev_info->default_context->CopyDeviceTensorToCPUSync( in RunTest()280 TF_CHECK_OK(dev_info->default_context->CopyCPUTensorToDeviceSync( in InitTensor()290 dev_ctx = dev_info->default_context; in PrepareDeviceContext()
76 context(static_cast<GPUDeviceContext*>(info->default_context)), in Participant()
156 DeviceContext* default_context = nullptr; member
1071 if (dev_info) ret = dev_info->default_context; in op_device_context()
367 gpu_device_info->default_context = device_context_; in GetDeviceContextLocked()
599 if (dev_info) device_context = dev_info->default_context; in BuildXlaCompilerArguments()
1006 src_device_context = srcd->tensorflow_gpu_device_info()->default_context; in CopyToDevice()1010 dst_device_context = dstd->tensorflow_gpu_device_info()->default_context; in CopyToDevice()
415 DeviceContext* device_context = device_info->default_context; in TEST_F()
474 gpu_device_info_->default_context = device_context_; in Init()
2992 static Context setDefault(const Context &default_context) in setDefault() argument2994 std::call_once(default_initialized_, makeDefaultProvided, std::cref(default_context)); in setDefault()