NVIDIA / NVIDIA/cutlass

[BUG] Unused variable

Open
#1,913 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

? - Needs Triage bug inactive-30d inactive-90d
Dominant language
C++
Stars
10.5k
Forks
2.1k
Avg merge
3d 11h
Merged PRs (30d)
7

Description

Describe the bug

There is an unused variable in the code at https://github.com/NVIDIA/cutlass/blob/19f51596e8be9fe87d583616466581ab5740c19d/tools/profiler/src/problem_space.cpp#L1093

It looks as though maybe a conversion should be done, but the converted value isn't used anywhere.

Steps/Code to reproduce bug
N/A

Expected behavior
I expect either no conversion or a used conversion, but not an unused conversion.

Environment details (please complete the following information):
N/A

Additional context
N/A

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect tools/profiler/src/problem_space.cpp at line 1093 and trace the conversion and its result through the surrounding code. Determine whether the conversion is needed or its value should be used; done means the unused conversion is resolved without introducing a new unused value.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.