Hi, I have implemented a custom plugin inherited from nvinfer1::IPluginV2DynamicExt and this layer need some runtime cuda memory, so getWorkspaceSize returns non-zero. But when calling enquue, the pointer to workspace is still nullptr. Is there anything wrong ? Following are the example codes:

TensorRT 8.4.0.6
Hi, I have implemented a custom plugin inherited from nvinfer1::IPluginV2DynamicExt and this layer need some runtime cuda memory, so

getWorkspaceSizereturns non-zero. But when callingenquue, the pointer to workspace is still nullptr. Is there anything wrong ? Following are the example codes:TensorRT 8.4.0.6