ROCm / HIP

HIP: C++ Heterogeneous-Compute Interface for Portability
https://rocmdocs.amd.com/projects/HIP/
MIT License
3.54k stars 518 forks source link

[Documentation]: hipMemGetAdressRange unexpectedly returns hipErrorNotFound #3531

Open BKitor opened 6 days ago

BKitor commented 6 days ago

Description of errors

Minor Docs typo, looks like hipErrorInvalidDevicePointer got swapped to hipErrorNotFound at some point. Makes debugging a bit confusing...

Link to function in CLR: https://github.com/ROCm/clr/blob/6b9e89fe0cf9a08ce5e3b81a240977a89587dd03/hipamd/src/hip_memory.cpp#L783C15-L783C17

doc line in header file: https://github.com/ROCm/HIP/blob/91db702b8c214d0fbd10acf39169237be394c668/include/hip/hip_runtime_api.h#L4998

Attach any links, screenshots, or additional evidence you think will be helpful.

No response

harkgill-amd commented 5 days ago

Hi @BKitor, an internal ticket has been created to fix this issue. Thanks!