# TSComputeRHSHessianProductFunctionPU
Runs the user-defined vector-Hessian-vector product function for Gpu. 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSComputeRHSHessianProductFunctionPU(TS ts, PetscReal t, Vec U, Vec *Vl, Vec Vr, Vec *VHV)
```
Collective


## Input Parameters

- ***ts   -*** The `TS` context obtained from `TSCreate()`





## Note
`TSComputeRHSHessianProductFunctionPU()` is typically used for sensitivity implementation,
so most users would not generally call this routine themselves.


## See Also
 [](chapter_ts), `TSSetRHSHessianProduct()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/sensitivity/tssen.c.html#TSComputeRHSHessianProductFunctionPU">src/ts/interface/sensitivity/tssen.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/interface/sensitivity/tssen.c)


[Index of all Sensitivity routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
