SWDEV-354045 - Update hipModuleLoad comments about releasing file and other resources. (#2927)
Change-Id: I88e5a37d3fd56b874eba19f73b0be0217caa58f8
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
dc386a0805
commit
7731299752
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user