Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Kernel Launch Example #3631

Open
wants to merge 2 commits into
base: docs/develop
Choose a base branch
from
Open

Conversation

harkgill-amd
Copy link

@harkgill-amd harkgill-amd commented Oct 3, 2024

Updated the kernel launch example to fix the issues highlighted in #3428.

Example is essentially pseudo-code and isn't expected to compile but had a few obvious errors that are corrected.

  1. hipLaunchParm was causing parameter mismatch on kernel launch
  2. __host__ and __device__ annotations were missing on PlusOne
  3. gid indexing updated
  4. Inconsistent use of gridDim and groupDim fixed
  5. wrong variable names (N vs n)

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.

1 participant