hipuserobjectcreate Interface Reference

hipuserobjectcreate Interface Reference#

HIPFORT API Reference: hipfort::hipuserobjectcreate Interface Reference
hipfort::hipuserobjectcreate Interface Reference

Create an instance of userObject to manage lifetime of a resource. More...

Public Member Functions

integer(kind(hipsuccess)) function hipuserobjectcreate_ (object_out, ptr, destroy, initialrefcount, flags)
 

Detailed Description

Create an instance of userObject to manage lifetime of a resource.

Parameters
[out]object_out- pointer to instace of userobj.
[in]ptr- pointer to pass to destroy function.
[in]destroy- destroy callback to remove resource.
[in]initialRefcount- reference to resource.
[in]flags- flags passed to API.
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipuserobjectcreate_()

integer(kind(hipsuccess)) function hipfort::hipuserobjectcreate::hipuserobjectcreate_ ( type(c_ptr)  object_out,
type(c_ptr), value  ptr,
type(c_funptr), value  destroy,
integer(c_int), value  initialrefcount,
integer(c_int), value  flags 
)

The documentation for this interface was generated from the following file: