Skip to content

OpenCL grouped convolutions "did you forget to bind" #3190

@Wheest

Description

@Wheest

It's possible that this is a usage question rather than a bug.

However, I have been trying to run grouped convolutions on OpenCL devices, using models imported from ONNX.

OpenCL models work when the number of groups==1, and when groups==input_channels, but get errors like Direct host side access to device memory is detected in fused_nn_conv2d_9 for other values of groups.

Interestingly, varying the optimisation level changes the error message slightly, but does not fix results.

I have an MWE gist notebook that shows the problem here.

Prior issues with grouped convolutions were dealt with in #3070.

Perhaps grouped convolutions in OpenCL require a specific data layout? However I'm unsure how I would specify this for imported ONNX models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions