Skip to content

Conversation

@MasterJH5574
Copy link
Contributor

This PR properly aligns rocm param buffer fields to avoid bug in cases like

struct Param {
  void *arg0;
  int32_t arg1;
  int64_t arg2;
};

In this case, we need to align arg2 by padding a i32 after arg1.


Co-authored-by: Tianqi Chen [email protected]

This PR properly aligns rocm param buffer fields to avoid bug in cases like

struct Param {
  void *arg0;
  int32_t arg1;
  int64_t arg2;
};

In this case, we need to align arg2 by padding a i32 after arg1.
@tqchen tqchen merged commit ae93d22 into apache:main Feb 11, 2024
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.

2 participants