Home
last modified time | relevance | path

Searched refs:ToStatus (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/platform/default/
Ddevice_tracer.cc45 Status ToStatus(CUptiResult result) { in ToStatus() function
57 Status ToStatus(CUresult result) { in ToStatus() function
96 TF_RETURN_IF_ERROR(ToStatus(cuEventCreate(event, CU_EVENT_DEFAULT))); in CreateAndRecordEvent()
97 return ToStatus(cuEventRecord(*event, stream)); in CreateAndRecordEvent()
172 TF_RETURN_IF_ERROR(ToStatus( in Enable()
183 TF_RETURN_IF_ERROR(ToStatus(cupti_wrapper_->EnableCallback( in Enable()
190 LogIfError(ToStatus(cupti_wrapper_->Unsubscribe(subscriber_))); in ~CuptiCallbackHook()
217 LogIfError(ToStatus(status)); in GetMemoryType()
488 TF_RETURN_IF_ERROR(ToStatus(cuDeviceGetCount(&count))); in InitializeDeviceInfos()
491 TF_RETURN_IF_ERROR(ToStatus(cuDeviceGet(&device, ordinal))); in InitializeDeviceInfos()
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dtoco_port.cc72 tensorflow::Status ToStatus(const ::util::Status& uts) { in ToStatus() function
93 return ToStatus(status); in Writable()
98 return ToStatus(::file::Readable(filename, ::file::Defaults())); in Readable()
104 return ToStatus(status); in Exists()
109 return ToStatus(::file::GetContents(filename, contents, ::file::Defaults())); in GetContents()
114 return ToStatus(::file::SetContents(filename, contents, ::file::Defaults())); in SetContents()