Skip to content

bank conflict #12

Description

@ychen9712

Hi!
I notice that access of shared memory in SpdDownsampleMip_2 is not bank conflict free. The output will use bank[0: 15] twice and not use bank [16: 31] in each of two warps(32 threads).
We can reduce bank conflicts at best with the following access pattern in SpdStoreIntermediate: (x * 2 + y % 2, y * 2 + (y >> 1) & 1), which use every bank[0: 31] in each warp.
Correct me if i am wrong.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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