Skip to content

Bugs reported by compute-sanitizer #2

@Debugger-Pro

Description

@Debugger-Pro

Dear Authors,

The code appears to have errors/bugs, which might have been inherited from Flash-LLM. These errors are related to illegal memory access. While they do not terminate the program, they could lead to undefined behavior, which makes the program's results unreliable.

To verify the program, I recommend using compute-sanitizer with the following command:

compute-sanitizer --print-limit=1 ./spmm_test 4096 4096 16 80 7

you can find the error information as:

Image

Comment out the code from Flash-LLM, and then run the verification code again. You will observe the following:

Image

I would appreciate it if you could look into this matter further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions