llnl / llnl/SAMRAI

Warnings from AsyncCommPeer.C

Open
#189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
250
Forks
89
Avg merge
34m
Merged PRs (30d)
1

Description

With hip clang we get a warning from two lines (849, 850) of AsyncCommPeer.C here https://github.com/LLNL/SAMRAI/blob/master/source/SAMRAI/tbox/AsyncCommPeer.C#L849.

The warning:
warning: cast to 'void *' from smaller integer type 'SAMRAI_MPI::Request' (aka 'int') [-Wint-to-void-pointer-cast]

Contributor guide

Open the contributing guide

Research direction

Inspect source/SAMRAI/tbox/AsyncCommPeer.C at lines 849-850 and reproduce the warning with hip clang. Trace the SAMRAI_MPI::Request cast to void* and verify that the completed change no longer emits the reported -Wint-to-void-pointer-cast warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems, hpc
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.