Skip to content

patches on 1.70 - #356

Open
AtlantaPepsi wants to merge 4 commits into
developfrom
candidate-1.71
Open

patches on 1.70#356
AtlantaPepsi wants to merge 4 commits into
developfrom
candidate-1.71

Conversation

@AtlantaPepsi

Copy link
Copy Markdown
Contributor

Motivation

Missed minor version in client in previous merge.
Also updating CI install requirements to fix failed CI test.

@AtlantaPepsi
AtlantaPepsi requested a review from a team as a code owner September 4, 2026 15:10
Copilot AI lite review requested due to automatic review settings September 4, 2026 15:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Changes are minimal, consistent with existing versioning (v1.70.00) and should improve CI reliability without altering runtime logic.

Pull request overview

Aligns the client-reported patch version with the current TransferBench release (v1.70.00) and adjusts the CodeQL CI setup to install git more reliably in the container environment.

Changes:

  • Updates CLIENT_VERSION to "00" so the client reports v1.70.00 (matching the changelog/versioning).
  • Simplifies CodeQL workflow OS setup by removing the git PPA steps and installing git via apt-get with noninteractive settings.
File summaries
File Description
src/client/EnvVars.hpp Sets client patch version to 00 to match TransferBench::VERSION/release versioning (1.70.00).
.github/workflows/codeql.yml Updates apt install steps to install git noninteractively and removes PPA-related commands.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings September 8, 2026 06:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Pingpong post-prep currently continues when a pong-half resource is missing, which can leave a null localFlagMem and later cause a hang/crash in the pingpong GPU kernel.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines +5360 to +5362
auto it = pongByTransferIdx.find(pingRss->transferIdx);
if (it == pongByTransferIdx.end()) continue;
TransferResources* pongRss = it->second;

@gilbertlee-amd gilbertlee-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove ping pong latency test

Copilot AI review requested due to automatic review settings September 8, 2026 20:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new pingpong GPU kernel uses 1-byte atomic store builtins even under NVCC despite CUDA lacking 1-byte atomics, risking incorrect synchronization or hangs.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines +6331 to +6350
// TODO: replace with hip_atomic_store
if (!useSrcMem) {
if (isPing) {
__atomic_store_n((uint8_t*)remoteFlag, val, __ATOMIC_RELEASE);
GpuWait(localFlag, val);
} else {
GpuWait(localFlag, val);
__atomic_store_n((uint8_t*)remoteFlag, val, __ATOMIC_RELEASE);
}
} else{
uint8_t* const srcPtr = val ? srcVal1 : srcVal0;
if (isPing) {
__atomic_store((uint8_t*)remoteFlag, srcPtr, __ATOMIC_RELEASE);
GpuWait(localFlag, val);
} else {
GpuWait(localFlag, val);
__atomic_store((uint8_t*)remoteFlag, srcPtr, __ATOMIC_RELEASE);
}

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants