Skip to content

stride is wrong when computing local var in the smem-layernorm.cu #1

Open
@cailun01

Description

@cailun01

Hi, Arya!
I think it should be int stride = blockDim.x/2.

for(int stride = blockDim.x; stride > 0; stride /= 2){

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions