hipsetupargument Interface Reference

hipsetupargument Interface Reference#

HIPFORT API Reference: hipfort::hipsetupargument Interface Reference
hipfort::hipsetupargument Interface Reference

Set a kernel argument. More...

Public Member Functions

integer(kind(hipsuccess)) function hipsetupargument_ (arg, mySize, offset)
 

Detailed Description

Set a kernel argument.

Returns
hipSuccess, hipInvalidDevice, hipErrorNotInitialized, hipErrorInvalidValue
Parameters
[in]argPointer the argument in host memory.
[in]sizeSize of the argument.
[in]offsetOffset of the argument on the argument stack.

Member Function/Subroutine Documentation

◆ hipsetupargument_()

integer(kind(hipsuccess)) function hipfort::hipsetupargument::hipsetupargument_ ( type(c_ptr), value  arg,
integer(c_size_t), value  mySize,
integer(c_size_t), value  offset 
)

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