Searched refs:ToStatus (Results 1 – 2 of 2) sorted by relevance
45 Status ToStatus(CUptiResult result) { in ToStatus() function57 Status ToStatus(CUresult result) { in ToStatus() function96 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 …]
72 tensorflow::Status ToStatus(const ::util::Status& uts) { in ToStatus() function93 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()