Home
last modified time | relevance | path

Searched refs:remote_handle (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_mgr.cc46 const RemoteTensorHandleInternal& remote_handle, in GetTensorHandleImpl() argument
48 auto iter = remote_tensor_handle_map_.find(remote_handle); in GetTensorHandleImpl()
52 remote_handle.op_id, ", Output num: ", remote_handle.output_num); in GetTensorHandleImpl()
61 const RemoteTensorHandleInternal& remote_handle, in GetTensorHandle() argument
64 return GetTensorHandleImpl(remote_handle, handle); in GetTensorHandle()
68 const RemoteTensorHandleInternal& remote_handle, in GetMirroredResourceShape() argument
71 auto iter = mirrored_resource_shape_map_.find(remote_handle); in GetMirroredResourceShape()
75 remote_handle.op_id, ", Output num: ", remote_handle.output_num); in GetMirroredResourceShape()
100 const RemoteTensorHandleInternal& remote_handle) { in DeleteTensorHandle() argument
103 auto iter = remote_tensor_handle_map_.find(remote_handle); in DeleteTensorHandle()
[all …]
Dremote_mgr_test.cc80 RemoteTensorHandle remote_handle; in TEST_F() local
82 handle, /*wait_until_ready=*/true, &remote_handle, remote_device_, in TEST_F()
84 EXPECT_EQ(op_id, remote_handle.op_id()); in TEST_F()
85 EXPECT_EQ(output_num, remote_handle.output_num()); in TEST_F()
86 EXPECT_EQ(remote_device_->name(), remote_handle.device()); in TEST_F()
97 RemoteTensorHandle remote_handle; in TEST_F() local
99 handle, /*wait_until_ready=*/true, &remote_handle, remote_device_, in TEST_F()
101 EXPECT_EQ(op_id, remote_handle.op_id()); in TEST_F()
102 EXPECT_EQ(output_num, remote_handle.output_num()); in TEST_F()
103 EXPECT_EQ(remote_device_->name(), remote_handle.device()); in TEST_F()
Dremote_mgr.h53 Status GetTensorHandle(const RemoteTensorHandleInternal& remote_handle,
56 Status DeleteTensorHandle(const RemoteTensorHandleInternal& remote_handle);
95 Status GetTensorHandleImpl(const RemoteTensorHandleInternal& remote_handle,
100 const RemoteTensorHandleInternal& remote_handle,
Deager_service_impl_test.cc58 const RemoteTensorHandleInternal& remote_handle, in GetTensorHandle() argument
64 return context->Context()->RemoteMgr()->GetTensorHandle(remote_handle, in GetTensorHandle()
1142 RemoteTensorHandle* remote_handle = in TEST_F() local
1144 remote_handle->set_op_id(send_tensor->op_id()); in TEST_F()
1145 remote_handle->set_output_num(0); in TEST_F()
1146 remote_handle->set_op_device(device0); in TEST_F()
1147 remote_handle->set_device(device0); in TEST_F()
1154 remote_handle = send_packed_handle->add_handles()->mutable_remote_handle(); in TEST_F()
1155 remote_handle->set_op_id(2); in TEST_F()
1156 remote_handle->set_output_num(5); in TEST_F()
[all …]
Deager_service_impl.cc121 input.remote_handle(), &handle)); in GetEagerOperationAndNumRetvals()
727 item.remote_handle(), &handles[i])); in SendPackedHandle()
/external/fastrpc/src/
Dadsp_default_listener_stub.c414 #define _const_adsp_default_listener_handle ((remote_handle)-1)
418 remote_handle* ph = (remote_handle*)data; in _adsp_default_listener_pls_dtor()
426 remote_handle* ph = (remote_handle*)data; in _adsp_default_listener_pls_ctor()
428 if(*ph == (remote_handle)-1) { in _adsp_default_listener_pls_ctor()
440 __QAIC_STUB_EXPORT remote_handle _adsp_default_listener_handle(void) { in _adsp_default_listener_handle()
441 remote_handle* ph; in _adsp_default_listener_handle()
446 return (remote_handle)-1; in _adsp_default_listener_handle()
451 return (remote_handle)-1; in _adsp_default_listener_handle()
453 return(remote_handle)-1; in _adsp_default_listener_handle()
472 __QAIC_STUB_EXPORT remote_handle _adsp_default_listener_handle(void) { in _adsp_default_listener_handle()
[all …]
Dadspmsgd_adsp_stub.c464 #define _const_adspmsgd_adsp_handle ((remote_handle)-1)
468 remote_handle* ph = (remote_handle*)data; in _adspmsgd_adsp_pls_dtor()
476 remote_handle* ph = (remote_handle*)data; in _adspmsgd_adsp_pls_ctor()
478 if(*ph == (remote_handle)-1) { in _adspmsgd_adsp_pls_ctor()
490 __QAIC_STUB_EXPORT remote_handle _adspmsgd_adsp_handle(void) { in _adspmsgd_adsp_handle()
491 remote_handle* ph; in _adspmsgd_adsp_handle()
496 return (remote_handle)-1; in _adspmsgd_adsp_handle()
501 return (remote_handle)-1; in _adspmsgd_adsp_handle()
503 return(remote_handle)-1; in _adspmsgd_adsp_handle()
522 __QAIC_STUB_EXPORT remote_handle _adspmsgd_adsp_handle(void) { in _adspmsgd_adsp_handle()
[all …]
Dadsp_perf_stub.c465 #define _const_adsp_perf_handle ((remote_handle)-1)
469 remote_handle* ph = (remote_handle*)data; in _adsp_perf_pls_dtor()
477 remote_handle* ph = (remote_handle*)data; in _adsp_perf_pls_ctor()
479 if(*ph == (remote_handle)-1) { in _adsp_perf_pls_ctor()
491 __QAIC_STUB_EXPORT remote_handle _adsp_perf_handle(void) { in _adsp_perf_handle()
492 remote_handle* ph; in _adsp_perf_handle()
497 return (remote_handle)-1; in _adsp_perf_handle()
502 return (remote_handle)-1; in _adsp_perf_handle()
504 return(remote_handle)-1; in _adsp_perf_handle()
523 __QAIC_STUB_EXPORT remote_handle _adsp_perf_handle(void) { in _adsp_perf_handle()
[all …]
Dremotectl_stub.c466 #define _const_remotectl_handle ((remote_handle)-1)
470 remote_handle* ph = (remote_handle*)data; in _remotectl_pls_dtor()
478 remote_handle* ph = (remote_handle*)data; in _remotectl_pls_ctor()
480 if(*ph == (remote_handle)-1) { in _remotectl_pls_ctor()
492 __QAIC_STUB_EXPORT remote_handle _remotectl_handle(void) { in _remotectl_handle()
493 remote_handle* ph; in _remotectl_handle()
498 return (remote_handle)-1; in _remotectl_handle()
503 return (remote_handle)-1; in _remotectl_handle()
505 return(remote_handle)-1; in _remotectl_handle()
524 __QAIC_STUB_EXPORT remote_handle _remotectl_handle(void) { in _remotectl_handle()
[all …]
Dadsp_current_process_stub.c467 #define _const_adsp_current_process_handle ((remote_handle)-1)
471 remote_handle* ph = (remote_handle*)data; in _adsp_current_process_pls_dtor()
479 remote_handle* ph = (remote_handle*)data; in _adsp_current_process_pls_ctor()
481 if(*ph == (remote_handle)-1) { in _adsp_current_process_pls_ctor()
493 __QAIC_STUB_EXPORT remote_handle _adsp_current_process_handle(void) { in _adsp_current_process_handle()
494 remote_handle* ph; in _adsp_current_process_handle()
499 return (remote_handle)-1; in _adsp_current_process_handle()
504 return (remote_handle)-1; in _adsp_current_process_handle()
506 return(remote_handle)-1; in _adsp_current_process_handle()
525 __QAIC_STUB_EXPORT remote_handle _adsp_current_process_handle(void) { in _adsp_current_process_handle()
[all …]
Dadsp_listener_stub.c419 #define _const_adsp_listener_handle ((remote_handle)-1)
423 remote_handle* ph = (remote_handle*)data; in _adsp_listener_pls_dtor()
431 remote_handle* ph = (remote_handle*)data; in _adsp_listener_pls_ctor()
433 if(*ph == (remote_handle)-1) { in _adsp_listener_pls_ctor()
445 __QAIC_STUB_EXPORT remote_handle _adsp_listener_handle(void) { in _adsp_listener_handle()
446 remote_handle* ph; in _adsp_listener_handle()
451 return (remote_handle)-1; in _adsp_listener_handle()
456 return (remote_handle)-1; in _adsp_listener_handle()
458 return(remote_handle)-1; in _adsp_listener_handle()
477 __QAIC_STUB_EXPORT remote_handle _adsp_listener_handle(void) { in _adsp_listener_handle()
[all …]
Dmod_table.c200 remote_handle* handle);
202 …mod_table_open_static_override(struct open_mod_table* me, const char* uri, remote_handle* handle) { in open_mod_table_open_static_override()
208 static int open_mod_table_open_static(struct open_mod_table* me, const char* uri, remote_handle* ha… in open_mod_table_open_static()
251 static int static_mod_table_register_const_handle(struct static_mod_table* me, remote_handle local, in static_mod_table_register_const_handle()
393 static int open_mod_table_open_dynamic(struct open_mod_table* me, const char* uri, remote_handle* h… in open_mod_table_open_dynamic()
497 remote_handle* handle) in open_mod_table_open_from_static()
572 static int open_mod_table_open(struct open_mod_table* me, const char* uri, remote_handle* handle, c… in open_mod_table_open()
665 static struct open_mod* open_mod_table_get_open(struct open_mod_table* me, remote_handle handle) { in open_mod_table_get_open()
675 static struct const_mod* open_mod_table_get_const(struct open_mod_table* me, remote_handle handle) { in open_mod_table_get_const()
683 static int open_mod_table_handle_invoke(struct open_mod_table* me, remote_handle handle, uint32 sc,… in open_mod_table_handle_invoke()
[all …]
Dadsp_default_listener.c51 remote_handle fd; in adsp_default_listener_start()
74 (remote_handle*)&pfd.fd))); in adsp_default_listener_start()
Dfastrpc_perf.c98 static void get_perf_kernel(int dev, remote_handle handle, uint32_t sc) { in get_perf_kernel()
103 static void get_perf_adsp(remote_handle handle, uint32_t sc) { in get_perf_adsp()
131 void fastrpc_perf_update(int dev, remote_handle handle, uint32_t sc) { in fastrpc_perf_update()
Dfastrpc_apps_user.c749 int remote_handle_invoke_domain(int domain, remote_handle handle, uint32_t sc, remote_arg* pra) { in remote_handle_invoke_domain()
802 int remote_handle_invoke(remote_handle handle, uint32_t sc, remote_arg* pra) { in remote_handle_invoke()
806 VERIFYC(handle != (remote_handle)-1, AEE_EBADHANDLE); in remote_handle_invoke()
839 int remote_handle_open_domain(int domain, const char* name, remote_handle *ph) in remote_handle_open_domain()
893 int remote_handle_open(const char* name, remote_handle *ph) { in remote_handle_open()
905 remote_handle h = 0; in remote_handle64_open()
924 int remote_handle_close(remote_handle h) in remote_handle_close()
945 VERIFY(AEE_SUCCESS == (nErr = remote_handle_close((remote_handle)remote))); in remote_handle64_close()
/external/fastrpc/inc/
Dmod_table.h103 int mod_table_open(const char* in_name, remote_handle* handle, char* dlerr, int dlerrorLen, int* pd…
112 int mod_table_invoke(remote_handle handle, uint32 sc, remote_arg* pra);
122 int mod_table_close(remote_handle handle, char* errStr, int errStrLen, int* pdlErr);
127 int mod_table_register_const_handle(remote_handle handle, const char* in_name, int (*pfn)(uint32 sc…
132 int mod_table_register_const_handle1(remote_handle remote, remote_handle64 local, const char* uri, …
Dremote.h40 typedef uint32_t remote_handle; typedef
57 remote_handle h;
134 __QAIC_REMOTE_EXPORT int __QAIC_REMOTE(remote_handle_open)(const char* name, remote_handle *ph) __Q…
142 __QAIC_REMOTE_EXPORT int __QAIC_REMOTE(remote_handle_invoke)(remote_handle h, uint32_t dwScalars, r…
147 __QAIC_REMOTE_EXPORT int __QAIC_REMOTE(remote_handle_close)(remote_handle h) __QAIC_REMOTE_ATTRIBUT…
Dfastrpc_perf.h57 extern void fastrpc_perf_update(int dev, remote_handle handle, uint32_t sc);
Dremote64.h52 remote_handle h;
Dfastrpc_internal.h153 remote_handle handle; //! handle to invoke
159 remote_handle handle; //! handle to invoke
/external/rust/crates/futures-util/src/future/future/
Dmod.rs106 mod remote_handle; module
111 pub use self::remote_handle::{Remote, RemoteHandle};
505 fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>) in remote_handle() method
509 let (wrapped, handle) = remote_handle::remote_handle(self); in remote_handle()
Dremote_handle.rs116 pub(super) fn remote_handle<Fut: Future>(future: Fut) -> (Remote<Fut>, RemoteHandle<Fut::Output>) { in remote_handle() function
/external/rust/crates/futures-util/src/task/
Dspawn.rs79 let (future, handle) = future.remote_handle(); in spawn_with_handle()
159 let (future, handle) = future.remote_handle(); in spawn_local_with_handle()
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.cc154 PlatformHandle remote_handle; in PlatformChannel() local
155 CreateChannel(&local_handle, &remote_handle); in PlatformChannel()
157 remote_endpoint_ = PlatformChannelEndpoint(std::move(remote_handle)); in PlatformChannel()
/external/libchrome/mojo/core/
Dplatform_handle_in_transit.h63 HANDLE remote_handle() const { return remote_handle_; } in remote_handle() function

12