Skip to content

Commit d3ce6de

Browse files
committed
modulatedDeformConvPlugin: execute cublas on the supplied stream
Make the plugin compatible with non-blocking streams Signed-off-by: Xiaolei Yu <dreifachstein@gmail.com>
1 parent 40efe7e commit d3ce6de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugin/modulatedDeformConvPlugin/modulatedDeformConvPlugin.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ int32_t ModulatedDeformableConvPluginDynamic::enqueue(nvinfer1::PluginTensorDesc
191191
void* output = outputs[0];
192192
int32_t im2colStep = std::min(batch, 32);
193193

194+
PLUGIN_CUBLASASSERT(mCublasWrapper->cublasSetStream(mCublasHandle, stream));
195+
194196
auto data_type = inputDesc[0].type;
195197
switch (data_type)
196198
{

0 commit comments

Comments
 (0)