Skip to content

Invalid workspace buffer in custom plugin enqueue #2291

@Jsy0220

Description

@Jsy0220

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:
WeChatWorkScreenshot_b55aa844-1441-4019-9f34-e164545be059

TensorRT 8.4.0.6

Metadata

Metadata

Assignees

Labels

triagedIssue has been triaged by maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions