Home
last modified time | relevance | path

Searched refs:c_status (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor.cc333 OwnedTFStatus c_status(TF_NewStatus()); in SynchronizeAllActivity() local
334 stream_executor_->synchronize_all_activity(&device_, c_status.get()); in SynchronizeAllActivity()
335 if (TF_GetCode(c_status.get()) != TF_OK) { in SynchronizeAllActivity()
336 LOG(ERROR) << TF_Message(c_status.get()); in SynchronizeAllActivity()
355 OwnedTFStatus c_status(TF_NewStatus()); in SynchronousMemcpy() local
358 size, c_status.get()); in SynchronousMemcpy()
359 return StatusFromTF_Status(c_status.get()); in SynchronousMemcpy()
364 OwnedTFStatus c_status(TF_NewStatus()); in SynchronousMemcpy() local
367 size, c_status.get()); in SynchronousMemcpy()
368 return StatusFromTF_Status(c_status.get()); in SynchronousMemcpy()
[all …]
Dstream_executor_internal.h103 std::unique_ptr<TF_Status, TFStatusDeleter> c_status(TF_NewStatus()); in Create()
104 stream_executor_->create_stream(device_, &stream_handle_, c_status.get()); in Create()
105 port::Status s = tensorflow::StatusFromTF_Status(c_status.get()); in Create()
133 std::unique_ptr<TF_Status, TFStatusDeleter> c_status(TF_NewStatus()); in Create()
134 stream_executor_->create_event(device_, &event_handle_, c_status.get()); in Create()
135 return tensorflow::StatusFromTF_Status(c_status.get()); in Create()
139 std::unique_ptr<TF_Status, TFStatusDeleter> c_status(TF_NewStatus()); in Record()
141 c_status.get()); in Record()
142 return tensorflow::StatusFromTF_Status(c_status.get()); in Record()
171 std::unique_ptr<TF_Status, TFStatusDeleter> c_status(TF_NewStatus()); in Create()
[all …]
/external/tensorflow/tensorflow/stream_executor/tpu/
Dstatus_helper.h26 : c_status(tensorflow::tpu::ExecutorApiFn()->TpuStatus_NewFn()) {} in StatusHelper()
29 tensorflow::tpu::ExecutorApiFn()->TpuStatus_FreeFn(c_status); in ~StatusHelper()
32 static tensorflow::Status FromC(TF_Status* const c_status) { in FromC() argument
33 if (tensorflow::tpu::ExecutorApiFn()->TpuStatus_OkFn(c_status)) { in FromC()
38 tensorflow::tpu::ExecutorApiFn()->TpuStatus_CodeFn(c_status)), in FromC()
39 tensorflow::tpu::ExecutorApiFn()->TpuStatus_MessageFn(c_status)); in FromC()
44 return tensorflow::tpu::ExecutorApiFn()->TpuStatus_OkFn(c_status); in ok()
47 tensorflow::Status status() const { return FromC(c_status); } in status()
49 TF_Status* const c_status; // NOLINT variable
Dtpu_executor.cc46 status.c_status); in Init()
66 executor_, get_stream(stream->implementation()), status.c_status); in BlockHostUntilDone()
73 status.c_status); in BlockUntilDoneOrFailed()
80 executor_, get_stream(stream->implementation()), status.c_status); in GetStatus()
146 status.c_status); in RecordEvent()
156 status.c_status); in WaitForEvent()
250 executor_, infeed_queue_index, status.c_status); in WaitForInfeedReady()
257 executor_, outfeed_queue_index, status.c_status); in WaitForOutfeedReady()
266 status.c_status); in DequeueOutfeed()
275 status.c_status); in EnqueueInfeed()
[all …]
Dtpu_node_context.cc33 tpu::OpsApiFn()->TpuNodeContext_CreateFn(device_ordinal, status.c_status); in Create()
50 tpu::OpsApiFn()->TpuNodeContext_StopChipHeartbeatsFn(status.c_status); in StopChipHeartbeats()
57 tpu::OpsApiFn()->TpuNodeContext_CloseTpuHostFn(status.c_status); in CloseTpuHost()
64 tpu::OpsApiFn()->TpuNodeContext_InitializeFn(device_ordinal, status.c_status); in Initialize()
Dtpu_transfer_manager.cc83 &c_literal, &c_device_buffer, status.c_status); in TransferLiteralToDeviceAsync()
98 manager_, tpu_executor->se_executor(), &c_literal, status.c_status); in TransferLiteralToInfeed()
125 buffers_size.data(), buffers_size.size(), status.c_status); in TransferBuffersToInfeed()
142 status.c_status); in TransferLiteralFromOutfeed()
161 manager_, se.data(), executor.size(), status.c_status); in ResetDevices()
231 manager_, &c_host_shape, &c_output, status.c_status); in ChooseCompactLayoutForShape()
289 elements_bases, elements.size(), &c_shape, &region_base, status.c_status); in WriteSingleTupleIndexTable()
309 status.c_status); in LinearizeToBuffers()
Dtpu_stream.h51 size, status.c_status); in EnqueueTransferHostToDevice()
61 status.c_status); in EnqueueTransferDeviceToHost()
72 ApiConverter::ToC(recv_buffer), status.c_status); in EnqueueOnTpuDeviceSendRecvLocal()
Dtpu_platform.cc61 platform_, options_size, options_key, options_value, status.c_status); in Initialize()
98 platform_, c_config, status.c_status); in GetUncachedExecutor()
Dtpu_executable.cc94 params.status = status.c_status; in LoadProgramAndEnqueueToStream()
/external/tensorflow/tensorflow/core/profiler/internal/tpu/
Dtpu_tracer.cc63 tpu::OpsApiFn()->TpuProfiler_CreateFn(&tpu_profiler_, status.c_status); in TpuTracer()
75 tpu::OpsApiFn()->TpuProfiler_StartFn(tpu_profiler_, status.c_status); in Start()
85 tpu::OpsApiFn()->TpuProfiler_StopFn(tpu_profiler_, status.c_status); in Stop()
102 tpu::OpsApiFn()->TpuProfiler_CollectDataFn(tpu_profiler_, status.c_status, in CollectData()
108 tpu::OpsApiFn()->TpuProfiler_CollectDataFn(tpu_profiler_, status.c_status, in CollectData()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_program_group.cc42 xla_tpu_program, &serialized_executable_info, status.c_status); in ConstructExecutableInfo()
58 xla_tpu_program, &serialized_host_transfer_info, status.c_status); in ConstructHostTransferInfo()
74 xla_tpu_program, &serialized_hlo_metadata, status.c_status); in ConstructHloMetadata()
144 OpsApiFn()->TpuProgram_UnloadAndDestroyFn(tpu_program, status.c_status); in UnloadAndDestroyPrograms()
260 &count, status.c_status); in CompileAndBuild()
294 &count, status.c_status); in CompileAndBuild()
338 rpc_response_protos[i], xla_tpu_program, status.c_status); in DeserializeFromRpcResponseProtos()
356 executable, status.c_status); in SerializeExecutable()
366 tpu_programs_[index], compiler_metadata, status.c_status); in SerializeCompilerMetadata()
/external/openssh/
Dssh-keyscan.c97 u_char c_status; /* State of connection on this file desc. */ member
401 if (fdcon[s].c_status) in conalloc()
406 fdcon[s].c_status = CS_CON; in conalloc()
426 if (s >= maxfd || fdcon[s].c_status == CS_UNUSED) in confree()
430 if (fdcon[s].c_status == CS_KEYS) in confree()
432 fdcon[s].c_status = CS_UNUSED; in confree()
547 if (c->c_status == CS_CON) { in conread()
560 switch (c->c_status) { in conread()
566 c->c_status = CS_KEYS; in conread()
569 fatal("conread: invalid status %d", c->c_status); in conread()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtpu_computation_placer.cc49 status.c_status); in AssignDevices()
64 status.c_status); in AssignLocalDevices()
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_registration.cc254 TF_Status* c_status = TF_NewStatus(); in RegisterFileSystem() local
256 core_filesystem_ops->init(filesystem.get(), c_status); in RegisterFileSystem()
257 status = Status(c_status->status); in RegisterFileSystem()
258 TF_DeleteStatus(c_status); in RegisterFileSystem()
/external/tensorflow/tensorflow/c/
Dops.cc94 TF_Status* c_status = TF_NewStatus(); in TF_OpDefinitionBuilderSetShapeInferenceFunction() local
96 shape_inference_func(c_ctx, c_status); in TF_OpDefinitionBuilderSetShapeInferenceFunction()
97 tensorflow::Status result = ::tensorflow::StatusFromTF_Status(c_status); in TF_OpDefinitionBuilderSetShapeInferenceFunction()
98 TF_DeleteStatus(c_status); in TF_OpDefinitionBuilderSetShapeInferenceFunction()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_on_demand_compiler.cc136 &se_execution_output, status.c_status); in ExecuteAsyncOnStream()
236 &allocator, &result, status.c_status); in RunHloPasses()
265 &allocator, &result, status.c_status); in RunBackend()
318 &allocator, se_executables, status.c_status); in Compile()
Dtpu_execute.cc254 params.status = status.c_status; in UpdateDynamicInputs()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_tpu_device.cc64 status.c_status); in TpuShapeRepresentation()
94 &se_shape.value, &tpu_shape.value, status.c_status); in TpuPaddedShapeFn()
/external/libabigail/tools/
Dabipkgdiff.cc1530 abigail::dwarf_reader::status c_status = abigail::dwarf_reader::STATUS_OK; in compare_to_self() local
1550 corp = read_corpus_from_elf(*c, c_status); in compare_to_self()
1552 if (!(c_status & abigail::dwarf_reader::STATUS_OK)) in compare_to_self()
1561 *detailed_error_status = c_status; in compare_to_self()
/external/pigweed/pw_assert/
Ddocs.rst384 pw_Status c_status = DoMoreThings();
385 PW_CHECK_OK(c_status, "System state: %s", SystemState());