Skip to content

[Question] The number of threads in the kernel inconsistent with the parameters I passed in. #1523

@printffox

Description

@printffox

Required prerequisites

Questions

Just as the title indicates, I created a Kernel by

with T.Kernel(T.ceildiv(seq_len, block_m), heads, batch, threads=128) as (bx, by, bz):

However, when I used NsightCompute to profile this Kernel, I found that the blockDim of this Kernel is (256,1, 1). Why is that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions