SWDEV-354045 - Update hipModuleLoad comments about releasing file and other resources. (#2927)

Change-Id: I88e5a37d3fd56b874eba19f73b0be0217caa58f8
This commit is contained in:
ROCm CI Service Account
2022-09-26 07:39:12 +05:30
zatwierdzone przez GitHub
rodzic dc386a0805
commit 7731299752
+2
Wyświetl plik
@@ -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
*