Skip to content

Was that a typo in fp16ScalarProduct? #396

@JamesPei

Description

@JamesPei

in line 97& line 121 of Samples/0_Introduction/fp16ScalarProduct/fp16ScalarProduct.cu
for (int i = threadIdx.x + blockDim.x + blockIdx.x; i < size; i += stride)
shouldn't it be int i = threadIdx.x + blockDim.x * blockIdx.x ?

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