Home
last modified time | relevance | path

Searched refs:CacheClient (Results 1 – 24 of 24) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_client.cc26 CacheClient::Builder::Builder() in Builder()
35 Status CacheClient::Builder::Build(std::shared_ptr<CacheClient> *out) { in Build()
38 …*out = std::make_shared<CacheClient>(session_id_, cache_mem_sz_, spill_, hostname_, port_, num_con… in Build()
43 Status CacheClient::Builder::SanityCheck() { in SanityCheck()
57 CacheClient::CacheClient(session_id_type session_id, uint64_t cache_mem_sz, bool spill, std::string… in CacheClient() function in mindspore::dataset::CacheClient
71 CacheClient::~CacheClient() { in ~CacheClient()
98 void CacheClient::Print(std::ostream &out) const { in Print()
106 std::string CacheClient::GetHostname() const { return comm_->GetHostname(); } in GetHostname()
107 int32_t CacheClient::GetPort() const { return comm_->GetPort(); } in GetPort()
109 Status CacheClient::WriteRow(const TensorRow &row, row_id_type *row_id_from_server) const { in WriteRow()
[all …]
Dcache_client.h49 class CacheClient {
131 Status Build(std::shared_ptr<CacheClient> *out);
147CacheClient(session_id_type session_id, uint64_t cache_mem_sz, bool spill, std::string hostname, i…
151 ~CacheClient();
207 friend std::ostream &operator<<(std::ostream &out, const CacheClient &cc) {
316 Status Init(CacheClient *cc);
351 CacheClient *cc_;
Dcache_request.h38 class CacheClient; variable
98 friend class CacheClient; variable
186 friend class CacheClient; variable
187 explicit CacheRowRequest(const CacheClient *cc);
193 Status SerializeCacheRowRequest(const CacheClient *cc, const TensorRow &row);
234 BatchFetchRequest(const CacheClient *cc, const std::vector<row_id_type> &row_id);
253 explicit CreateCacheRequest(CacheClient *cc, const CacheClientInfo &cinfo, uint64_t cache_mem_sz,
264 CacheClient *cc_;
495 explicit BatchCacheRowsRequest(const CacheClient *cc, int64_t addr, int32_t num_ele);
Dcache_request.cc38 Status CacheRowRequest::SerializeCacheRowRequest(const CacheClient *cc, const TensorRow &row) { in SerializeCacheRowRequest()
129 CacheRowRequest::CacheRowRequest(const CacheClient *cc) in CacheRowRequest()
140 BatchFetchRequest::BatchFetchRequest(const CacheClient *cc, const std::vector<row_id_type> &row_id) in BatchFetchRequest()
208 CreateCacheRequest::CreateCacheRequest(CacheClient *cc, const CacheClientInfo &cinfo, uint64_t cach… in CreateCacheRequest()
348 BatchCacheRowsRequest::BatchCacheRowsRequest(const CacheClient *cc, int64_t addr, int32_t num_ele) in BatchCacheRowsRequest()
Dcache_grpc_client.h59 friend class CacheClient; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/cache/
Dbindings.cc24 PYBIND_REGISTER(CacheClient, 0, ([](const py::module *m) { in __anon19b8a73b0102()
25 (void)py::class_<CacheClient, std::shared_ptr<CacheClient>>(*m, "CacheClient") in __anon19b8a73b0102()
29 std::shared_ptr<CacheClient> cc; in __anon19b8a73b0102()
30 CacheClient::Builder builder; in __anon19b8a73b0102()
39 .def("GetStat", [](CacheClient &cc) { in __anon19b8a73b0102()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Dcache_base_op.h47 …CacheBase(int32_t num_workers, int32_t op_connector_size, std::shared_ptr<CacheClient> cache_clien…
78 std::shared_ptr<CacheClient> GetCacheClient() { return cache_client_; } in GetCacheClient()
80 …void SetCacheClient(std::shared_ptr<CacheClient> cache_client) { cache_client_ = std::move(cache_c… in SetCacheClient()
88 std::shared_ptr<CacheClient> cache_client_;
Dcache_merge_op.h59 Status AsyncSendCacheRequest(const std::shared_ptr<CacheClient> &cc, const TensorRow &row);
81 std::shared_ptr<CacheClient> cache_client);
128 std::shared_ptr<CacheClient> cache_client_;
Dcache_op.h43 CacheOp(int32_t num_workers, int32_t op_connector_size, std::shared_ptr<CacheClient> cache_client,
Dcache_lookup_op.h36 …CacheLookupOp(int32_t num_workers, int32_t op_connector_size, std::shared_ptr<CacheClient> cache_c… in CacheLookupOp()
Dcache_merge_op.cc43 std::shared_ptr<CacheClient> cache_client) in CacheMergeOp()
253 Status CacheMergeOp::TensorRowCacheRequest::AsyncSendCacheRequest(const std::shared_ptr<CacheClient in AsyncSendCacheRequest()
Dcache_op.cc32 CacheOp::CacheOp(int32_t num_workers, int32_t op_connector_size, std::shared_ptr<CacheClient> cache… in CacheOp()
Dcache_base_op.cc46 CacheBase::CacheBase(int32_t num_workers, int32_t op_connector_size, std::shared_ptr<CacheClient> c… in CacheBase()
/third_party/mindspore/tests/ut/cpp/dataset/
Dcache_op_test.cc34 using mindspore::dataset::CacheClient;
66 CacheClient::Builder builder; in TEST_F()
73 std::shared_ptr<CacheClient> myClient; in TEST_F()
158 CacheClient::Builder builder; in TEST_F()
161 std::shared_ptr<CacheClient> myClient; in TEST_F()
266 CacheClient::Builder builder; in TEST_F()
268 std::shared_ptr<CacheClient> myClient; in TEST_F()
383 CacheClient::Builder builder; in TEST_F()
385 std::shared_ptr<CacheClient> myClient; in TEST_F()
453 CacheClient::Builder ccbuilder; in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/perf/
Dcache_perf_run.h80 CacheClient::Builder cache_builder_;
91 std::shared_ptr<CacheClient> cc_;
Dcache_pipeline_run.h97 CacheClient::Builder cache_builder_;
108 std::shared_ptr<CacheClient> cc_;
/third_party/mindspore/mindspore/dataset/engine/
Dcache_client.py19 from mindspore._c_dataengine import CacheClient
78 …self.cache_client = CacheClient(session_id, size, spilling, hostname, port, num_connections, prefe…
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/cache/
Dpre_built_dataset_cache.h34 explicit PreBuiltDatasetCache(std::shared_ptr<CacheClient> cc) in PreBuiltDatasetCache()
Ddataset_cache_impl.h81 std::shared_ptr<CacheClient> cache_client_;
Ddataset_cache_impl.cc31 CacheClient::Builder builder; in Build()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/pre/
Dcache_transform_pass.h32 class CacheClient; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/
Dpybind_conversion.h76 std::shared_ptr<DatasetCache> toDatasetCache(std::shared_ptr<CacheClient> cc);
Dpybind_conversion.cc187 std::shared_ptr<DatasetCache> toDatasetCache(std::shared_ptr<CacheClient> cc) { in toDatasetCache()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/
Dbindings.cc62 [](std::shared_ptr<DatasetNode> self, std::shared_ptr<CacheClient> cc) { in __anonb78612490102()