SWDEV-354045 - Update hipModuleLoad comments about releasing file and other resources. (#2927)
Change-Id: I88e5a37d3fd56b874eba19f73b0be0217caa58f8
[ROCm/hip commit: 7731299752]
This commit is contained in:
committad av
GitHub
förälder
c7294b0711
incheckning
5ce8259c9a
@@ -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
|
||||
*
|
||||
|
||||
Referens i nytt ärende
Block a user