diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index c3c11c883b..1d8a6cc731 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -4483,6 +4483,8 @@ hipError_t hipDevicePrimaryCtxSetFlags(hipDevice_t dev, unsigned int flags); * @param [in] fname * @param [out] module * + * @warning File/memory resources allocated in this function are released only in hipModuleUnload. + * * @returns hipSuccess, hipErrorInvalidValue, hipErrorInvalidContext, hipErrorFileNotFound, * hipErrorOutOfMemory, hipErrorSharedObjectInitFailed, hipErrorNotInitialized *