Skip to content

[OMPT] Update veccopy EMI/non-EMI tests - #2481

Merged
jplehr merged 1 commit into
ROCm:aomp-devfrom
jplehr:fix/update-ompt-emi-non-emi-tests
Aug 31, 2026
Merged

[OMPT] Update veccopy EMI/non-EMI tests#2481
jplehr merged 1 commit into
ROCm:aomp-devfrom
jplehr:fix/update-ompt-emi-non-emi-tests

Conversation

@jplehr

@jplehr jplehr commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Updates a downstream test to changes upstream.
Upstream also has this test (basically), so we will converge to remove the downstream-only test at some point.

This updates the downstream test to changes that came in through the
merges.
@jplehr
jplehr merged commit 9430551 into ROCm:aomp-dev Aug 31, 2026
1 check passed
@jplehr
jplehr deleted the fix/update-ompt-emi-non-emi-tests branch August 31, 2026 14:13

@mhalk mhalk 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.

Minor issue which is not blocking but should IMHO be addressed.
If that's also upstream, we should fix that, too.

/// CHECK: Callback DataOp EMI: endpoint=2 optype=4
/// CHECK: Callback Target EMI: kind=1 endpoint=2
/// CHECK: Callback Target EMI: kind=1 endpoint=1
/// CHECK: Callback Target: target_id=[[TARGET_ID:[0-9]+]] kind=1 endpoint=2

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.

Q: Is this re-definiton on purpose?

Otherwise, IMHO we should replace the corresponding (total: 4) definitions, following kind=1 endpoint=1, with uses like this:

Suggested change
/// CHECK: Callback Target: target_id=[[TARGET_ID:[0-9]+]] kind=1 endpoint=2
/// CHECK: Callback Target: target_id=[[TARGET_ID]] kind=1 endpoint=2

/// CHECK: Callback DataOp EMI: endpoint=2 optype=1
/// CHECK: Callback DataOp EMI: endpoint=1 optype=2
/// CHECK: Callback DataOp EMI: endpoint=2 optype=2
/// CHECK: Callback Submit: target_id=[[TARGET_ID:[0-9]+]] host_op_id=[[HOST_OP_ID:[0-9]+]] req_num_teams=1

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.

Re-def -> use.

/// CHECK: Callback DataOp EMI: endpoint=2 optype=1
/// CHECK: Callback DataOp EMI: endpoint=1 optype=2
/// CHECK: Callback DataOp EMI: endpoint=2 optype=2
/// CHECK: Callback Submit: target_id=[[TARGET_ID:[0-9]+]] host_op_id=[[HOST_OP_ID:[0-9]+]] req_num_teams=0

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.

Re-def -> use.

/// CHECK: Callback DataOp EMI: endpoint=1 optype=4
/// CHECK: Callback DataOp EMI: endpoint=2 optype=4
/// CHECK: Callback Target EMI: kind=1 endpoint=2
/// CHECK: Callback Target: target_id=[[TARGET_ID:[0-9]+]] kind=1 endpoint=2

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.

Re-def -> use.

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.

3 participants