- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for HostCallbackTrampoline (0.25 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor.cc
// This wrapper allows calling `HostCallbackContext::callback` across C API. // This function matches `SE_StatusCallbackFn` signature and will be passed as // `callback_fn` to `host_callback` in `SP_StreamExecutor`. void HostCallbackTrampoline(void* ctx, TF_Status* status) { HostCallbackContext* host_ctx = static_cast<HostCallbackContext*>(ctx); absl::Status s = std::move(host_ctx->callback)(); tsl::Set_TF_Status_from_Status(status, s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0)