MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / SetExecStream

Method SetExecStream

paddle/fluid/inference/api/analysis_config.cc:187–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void AnalysisConfig::SetExecStream(void *stream) {
188 PADDLE_ENFORCE_NOT_NULL(
189 stream,
190 common::errors::InvalidArgument("`stream` should not be nullptr"));
191 exec_stream_ = stream;
192 use_external_stream_ = true;
193 Update();
194}
195
196void *AnalysisConfig::GetExecStream() const {
197 PADDLE_ENFORCE_NOT_NULL(

Callers 4

inference_api.ccFile · 0.80
PD_ConfigSetExecStreamFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 1

UpdateFunction · 0.85

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64