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

[Issue]: XNACK or HSA_XNACK (or both?) #3718

Open
cwpearson opened this issue Jan 9, 2025 · 3 comments
Open

[Issue]: XNACK or HSA_XNACK (or both?) #3718

cwpearson opened this issue Jan 9, 2025 · 3 comments

Comments

@cwpearson
Copy link

Hi AMD folks,

Looks like XNACK and HSA_XNACK are used interchangeably in the unified memory section of the docs. It would be great to clarify whether both are okay, or correct this if it's an oversight to facilitate documentation searches.

Use of simply XNACK:

:sup:`1` Works only with ``XNACK=1`` and kernels with HMM support. First GPU

GPUs, it is essential to configure the environment variable ``XNACK=1`` and use

- Allocation origin without HMM or ``XNACK=0``
- Access outside the origin without HMM or ``XNACK=0``
- Allocation origin with HMM and ``XNACK=1``
- Access outside the origin with HMM and ``XNACK=1``

Use of HSA_XNACK:

// This example requires HMM support and the environment variable HSA_XNACK needs to be set to 1

Perhaps HSA_XNACK (or XNACK?) should also be listed under "memory management related variables" or another appropriate section of the environment variable reference.

Memory management related variables

@cwpearson cwpearson changed the title [Issue]: XNACK or HSA_XNACK (or either, or both?) [Issue]: XNACK or HSA_XNACK (or both?) Jan 9, 2025
@ppanchad-amd
Copy link

Hi @cwpearson. Internal ticket has been created to update docs. Thanks!

@cwpearson
Copy link
Author

@ppanchad-amd feel free to close or leave open, whatever you prefer for your process. Thanks for the prompt attention!

@cjatin
Copy link
Contributor

cjatin commented Jan 13, 2025

AFAIK it should be HSA_XNACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants