Skip to content

MaxPool2d - investigate memory layout performance #2766

@pbielak

Description

@pbielak

While working on a fix for test_large_max_pool_contig (from issue #2366), it was discovered that the memory layout of the input tensor was implicitly changed from Contiguous to ChannelsLast. This caused the output to be wrong (indexing mismatch between input and output tensors). A fix was proposed - #2763, but as a follow up task, one should explore the performance of different MaxPool2d kernel variants (whether the channels last kernel is faster than the general one).

CC: @EikanWang

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