diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 9bdf9083c1..c7376494db 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -4228,8 +4228,6 @@ hipError_t hipFree(void* ptr); * This API performs an implicit hipDeviceSynchronize() call. * If pointer is NULL, the hip runtime is initialized and hipSuccess is returned. * - * @ingroup MemoryD - * * @param[in] ptr Pointer to memory to be freed * @returns #hipSuccess, * #hipErrorInvalidValue (if pointer is invalid, including device pointers allocated @@ -4242,6 +4240,8 @@ hipError_t hipFreeHost(void* ptr); * This API performs an implicit hipDeviceSynchronize() call. * If pointer is NULL, the hip runtime is initialized and hipSuccess is returned. * + * @ingroup MemoryD + * * @param[in] ptr Pointer to memory to be freed * @returns #hipSuccess, * #hipErrorInvalidValue (if pointer is invalid, including device pointers allocated with