llnl / llnl/FPChecker

Tests don't pass on 9.0.1

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
44
Forks
13
PR merge metrics
No merged PRs in 30d

Description

In the Runtime.h file the following declaration causes problems:

`__device__ static char *_FPC_FILE_NAME_[1];`

When optimizations are applied, this global variable is lost (or optimized out), but we need to find it.

This seems to solve the problem:

`__device__ const static char *_FPC_FILE_NAME_[1] = {"none"};`

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

Start with Runtime.h and inspect the declaration of _FPC_FILE_NAME_ and how it is located when optimizations are enabled. Compare the current declaration with the initializer shown in the issue, then run the repository's tests to confirm that they pass on 9.0.1 and that the variable remains discoverable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.