Searched refs:acl_handle_ (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/core/utils/ |
D | ms_context.cc | 129 acl_handle_ = acltdtCreateChannel(device_id, (kReceivePrefix + channel_name).c_str()); in CreateTensorPrintThread() 130 if (acl_handle_ == nullptr) { in CreateTensorPrintThread() 135 acl_tdt_print_ = ctr(print_file_path, acl_handle_); in CreateTensorPrintThread() 136 TdtHandle::AddHandle(&acl_handle_, &acl_tdt_print_); in CreateTensorPrintThread() 153 if (acl_handle_ == nullptr) { in DestroyTensorPrintThread() 158 aclError stopStatus = acltdtStopChannel(acl_handle_); in DestroyTensorPrintThread() 165 aclError destroydStatus = acltdtDestroyChannel(acl_handle_); in DestroyTensorPrintThread() 170 TdtHandle::DelHandle(&acl_handle_); in DestroyTensorPrintThread()
|
D | ms_context.h | 195 acltdtChannelHandle *acl_handle_ = nullptr; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/tdt/ |
D | tdt_plugin.cc | 36 acl_handle_ = acltdtCreateChannel(device_id, channel_name.c_str()); in TdtPlugin() 37 if (acl_handle_ == nullptr) { in TdtPlugin() 42 TdtHandle::AddHandle(&acl_handle_, nullptr); in TdtPlugin() 46 if (acl_handle_ != nullptr) { in ~TdtPlugin() 47 if (acltdtDestroyChannel(acl_handle_) != ACL_SUCCESS) { in ~TdtPlugin() 51 TdtHandle::DelHandle(&acl_handle_); in ~TdtPlugin() 52 acl_handle_ = nullptr; in ~TdtPlugin() 90 auto status = acltdtSendTensor(acl_handle_, acl_dataset, -1); in hostPush()
|
D | tdt_plugin.h | 49 acltdtChannelHandle *acl_handle_; variable
|
/third_party/mindspore/mindspore/ccsrc/utils/ |
D | tensorprint_utils.h | 34 : print_file_path_(path), acl_handle_(acl_handle) {} in TensorPrint() 40 const acltdtChannelHandle *acl_handle_; variable
|
D | tensorprint_utils.cc | 284 if (acltdtReceiveTensor(acl_handle_, acl_dataset, -1 /* no timeout */) != ACL_SUCCESS) { in operator ()() 301 if (acltdtReceiveTensor(acl_handle_, acl_dataset, -1 /* no timeout */) != ACL_SUCCESS) { in operator ()()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/ |
D | device_queue_op.cc | 154 if (tdtInstancePtr->acl_handle_ == nullptr) { in operator ()()
|