SWDEV-368153 - Extern hipCreateSurfaceObject & hipDestroySurfaceObject. (#3238)
Change-Id: I9e0bed78d3983eaacda843362984ef4ae0d3b0b6
This commit is contained in:
committed by
GitHub
orang tua
7aa4cd6862
melakukan
4e19382402
@@ -7691,7 +7691,7 @@ hipError_t hipGraphicsUnmapResources(int count, hipGraphicsResource_t* resources
|
|||||||
* @brief Unregisters a graphics resource.
|
* @brief Unregisters a graphics resource.
|
||||||
*
|
*
|
||||||
* @param [in] resource - Graphics resources to unregister.
|
* @param [in] resource - Graphics resources to unregister.
|
||||||
*
|
*
|
||||||
* @returns #hipSuccess
|
* @returns #hipSuccess
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -7701,7 +7701,40 @@ hipError_t hipGraphicsUnregisterResource(hipGraphicsResource_t resource);
|
|||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*-------------------------------------------------------------------------------------------------
|
||||||
|
*-------------------------------------------------------------------------------------------------
|
||||||
|
* @defgroup Surface Surface Object
|
||||||
|
* @{
|
||||||
|
*
|
||||||
|
* This section describes surface object functions of HIP runtime API.
|
||||||
|
*
|
||||||
|
* @note APIs in this section are under development.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Create a surface object.
|
||||||
|
*
|
||||||
|
* @param [out] pSurfObject Pointer of surface object to be created.
|
||||||
|
* @param [in] pResDesc Pointer of suface object descriptor.
|
||||||
|
*
|
||||||
|
* @returns #hipSuccess, #hipErrorInvalidValue
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
hipError_t hipCreateSurfaceObject(hipSurfaceObject_t* pSurfObject, const hipResourceDesc* pResDesc);
|
||||||
|
/**
|
||||||
|
* @brief Destroy a surface object.
|
||||||
|
*
|
||||||
|
* @param [in] surfaceObject Surface object to be destroyed.
|
||||||
|
*
|
||||||
|
* @returns #hipSuccess, #hipErrorInvalidValue
|
||||||
|
*/
|
||||||
|
hipError_t hipDestroySurfaceObject(hipSurfaceObject_t surfaceObject);
|
||||||
|
// end of surface
|
||||||
|
/**
|
||||||
|
* @}
|
||||||
|
*/
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "c" */
|
} /* extern "c" */
|
||||||
#endif
|
#endif
|
||||||
@@ -8058,42 +8091,6 @@ inline hipError_t hipExtLaunchMultiKernelMultiDevice(hipLaunchParams* launchPara
|
|||||||
unsigned int numDevices, unsigned int flags = 0) {
|
unsigned int numDevices, unsigned int flags = 0) {
|
||||||
return hipExtLaunchMultiKernelMultiDevice(launchParamsList, numDevices, flags);
|
return hipExtLaunchMultiKernelMultiDevice(launchParamsList, numDevices, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*-------------------------------------------------------------------------------------------------
|
|
||||||
*-------------------------------------------------------------------------------------------------
|
|
||||||
* @defgroup Surface Surface Object
|
|
||||||
* @{
|
|
||||||
*
|
|
||||||
* This section describes surface object functions of HIP runtime API.
|
|
||||||
*
|
|
||||||
* @note APIs in this section are under development.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Create a surface object.
|
|
||||||
*
|
|
||||||
* @param [out] pSurfObject Pointer of surface object to be created.
|
|
||||||
* @param [in] pResDesc Pointer of suface object descriptor.
|
|
||||||
*
|
|
||||||
* @returns #hipSuccess, #hipErrorInvalidValue
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
hipError_t hipCreateSurfaceObject(hipSurfaceObject_t* pSurfObject, const hipResourceDesc* pResDesc);
|
|
||||||
/**
|
|
||||||
* @brief Destroy a surface object.
|
|
||||||
*
|
|
||||||
* @param [in] surfaceObject Surface object to be destroyed.
|
|
||||||
*
|
|
||||||
* @returns #hipSuccess, #hipErrorInvalidValue
|
|
||||||
*/
|
|
||||||
hipError_t hipDestroySurfaceObject(hipSurfaceObject_t surfaceObject);
|
|
||||||
// end of surface
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Binds a memory area to a texture.
|
* @brief Binds a memory area to a texture.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user