Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dascend_resource.cc38 processor_ = std::make_shared<MDAclProcess>(context, false); in InitResource()
39 ret = processor_->InitResource(); in InitResource()
51 processor_->Release(); in FinalizeResource()
67 APP_ERROR ret = processor_->H2D_Sink(de_input, *device_input); in Sink()
79 APP_ERROR ret = processor_->D2H_Pop(device_output, *host_output); in Pop()
90 APP_ERROR ret = processor_->device_memory_release(); in DeviceDataRelease()
100 std::shared_ptr<void> AscendResource::GetInstance() { return processor_; } in GetInstance()
102 void *AscendResource::GetContext() { return processor_->GetContext(); } in GetContext()
104 void *AscendResource::GetStream() { return processor_->GetStream(); } in GetStream()
Dascend_resource.h56 std::shared_ptr<MDAclProcess> processor_;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/
Ddvpp_decode_resize_crop_jpeg_op.cc35 APP_ERROR ret = processor_->JPEG_DRC(); in Compute()
37 ret = processor_->Release(); in Compute()
42 std::shared_ptr<DvppDataInfo> CropOut(processor_->Get_Croped_DeviceData()); in Compute()
137 processor_ = std::static_pointer_cast<MDAclProcess>(resource->GetInstance()); in SetAscendResource()
138 if (!processor_) { in SetAscendResource()
141 APP_ERROR ret = processor_->SetResizeParas(resized_width_, resized_height_); in SetAscendResource()
143 ret = processor_->SetCropParas(crop_width_, crop_height_); in SetAscendResource()
Ddvpp_resize_jpeg_op.cc36 std::shared_ptr<DvppDataInfo> imageinfo(processor_->Get_Decode_DeviceData()); in Compute()
40 APP_ERROR ret = processor_->JPEG_R(last_step); in Compute()
42 ret = processor_->Release(); in Compute()
47 std::shared_ptr<DvppDataInfo> ResizeOut(processor_->Get_Resized_DeviceData()); in Compute()
138 processor_ = std::static_pointer_cast<MDAclProcess>(resource->GetInstance()); in SetAscendResource()
139 if (!processor_) { in SetAscendResource()
142 APP_ERROR ret = processor_->SetResizeParas(resized_width_, resized_height_); in SetAscendResource()
Ddvpp_crop_jpeg_op.cc35 std::shared_ptr<DvppDataInfo> imageinfo(processor_->Get_Resized_DeviceData()); in Compute()
39 APP_ERROR ret = processor_->JPEG_C(last_step); in Compute()
41 ret = processor_->Release(); in Compute()
46 std::shared_ptr<DvppDataInfo> CropOut(processor_->Get_Croped_DeviceData()); in Compute()
151 processor_ = std::static_pointer_cast<MDAclProcess>(resource->GetInstance()); in SetAscendResource()
152 if (!processor_) { in SetAscendResource()
155 APP_ERROR ret = processor_->SetCropParas(crop_width_, crop_height_); in SetAscendResource()
Ddvpp_decode_resize_jpeg_op.cc35 APP_ERROR ret = processor_->JPEG_DR(); in Compute()
37 ret = processor_->Release(); in Compute()
42 std::shared_ptr<DvppDataInfo> ResizeOut(processor_->Get_Resized_DeviceData()); in Compute()
135 processor_ = std::static_pointer_cast<MDAclProcess>(resource->GetInstance()); in SetAscendResource()
136 if (!processor_) { in SetAscendResource()
139 APP_ERROR ret = processor_->SetResizeParas(resized_width_, resized_height_); in SetAscendResource()
Ddvpp_decode_png_op.cc35 APP_ERROR ret = processor_->PNG_D(); in Compute()
37 ret = processor_->Release(); in Compute()
42 std::shared_ptr<DvppDataInfo> DecodeOut(processor_->Get_Decode_DeviceData()); in Compute()
140 processor_ = std::static_pointer_cast<MDAclProcess>(resource->GetInstance()); in SetAscendResource()
141 if (!processor_) { in SetAscendResource()
Ddvpp_decode_jpeg_op.cc36 APP_ERROR ret = processor_->JPEG_D(); in Compute()
38 ret = processor_->Release(); in Compute()
43 std::shared_ptr<DvppDataInfo> DecodeOut(processor_->Get_Decode_DeviceData()); in Compute()
129 processor_ = std::static_pointer_cast<MDAclProcess>(resource->GetInstance()); in SetAscendResource()
130 if (!processor_) { in SetAscendResource()
Ddvpp_decode_jpeg_op.h39 DvppDecodeJpegOp() { processor_ = nullptr; } in DvppDecodeJpegOp()
55 std::shared_ptr<MDAclProcess> processor_;
Ddvpp_decode_png_op.h55 std::shared_ptr<MDAclProcess> processor_;
Ddvpp_resize_jpeg_op.h60 std::shared_ptr<MDAclProcess> processor_; variable
Ddvpp_crop_jpeg_op.h59 std::shared_ptr<MDAclProcess> processor_; variable
Ddvpp_decode_resize_jpeg_op.h59 std::shared_ptr<MDAclProcess> processor_; variable
Ddvpp_decode_resize_crop_jpeg_op.h63 std::shared_ptr<MDAclProcess> processor_; variable
/third_party/grpc/src/core/lib/security/credentials/
Dcredentials.h237 return processor_; in auth_metadata_processor()
244 if (processor_.destroy != nullptr && processor_.state != nullptr) { in DestroyProcessor()
245 processor_.destroy(processor_.state); in DestroyProcessor()
250 grpc_auth_metadata_processor processor_ = member
Dcredentials.cc112 processor_ = processor; in set_auth_metadata_processor()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dsentence_piece_tokenizer_op.cc31 auto status = processor_.LoadFromSerializedProto(vocab_.get()->model_proto()); in SentencePieceTokenizerOp()
45 auto status = processor_.Load(file_path_); in SentencePieceTokenizerOp()
72 auto status = processor_.Encode(sentence, &pieces); in Compute()
79 auto status = processor_.Encode(sentence, &ids); in Compute()
Dsentence_piece_tokenizer_op.h60 sentencepiece::SentencePieceProcessor processor_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/oplib/
Dopinfo.h111 processor_ = opinfo.processor_; in OpInfo()
134 std::string processor() const { return processor_; } in processor()
154 void set_processor(const std::string &processor) { processor_ = processor; } in set_processor()
167 … this->processor_ == other_info->processor_ && this->op_pattern_ == other_info->op_pattern_ && in equals_to()
187 std::string processor_; variable
/third_party/grpc/src/cpp/server/
Dsecure_server_credentials.h45 : processor_(processor) { in AuthMetadataProcessorAyncWrapper()
56 std::shared_ptr<AuthMetadataProcessor> processor_; variable
78 std::unique_ptr<grpc::AuthMetadataProcessorAyncWrapper> processor_; variable
Dsecure_server_credentials.cc41 if (!w->processor_) { in Process()
46 if (w->processor_->IsBlocking()) { in Process()
69 Status status = processor_->Process(metadata, &ctx, &consumed_metadata, in InvokeProcessor()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dkernel_build_info.h37 processor_ = AICORE; in KernelBuildInfo()
91 Processor processor() const { return processor_; } in processor()
120 Processor processor_; variable
Dkernel_build_info.cc134 …e_ != other.kernel_type_ || fusion_type_ != other.fusion_type_ || processor_ != other.processor_) { in operator ==()
188 kernel_build_info_->processor_ = processor; in SetProcessor()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/expanders/
Dutils.cc33 this->processor_ = processor; in Run()
Dutils.h49 std::string processor_; variable