hipmoduleload Interface Reference

hipmoduleload Interface Reference#

HIPFORT API Reference: hipfort::hipmoduleload Interface Reference
hipfort::hipmoduleload Interface Reference

Loads code object from file into a module the currrent context. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmoduleload_ (mymodule, fname)
 

Detailed Description

Loads code object from file into a module the currrent context.

Parameters
[in]fnameFilename of code object to load
[out]moduleModule
Warning
File/memory resources allocated in this function are released only in hipModuleUnload.
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidContext, hipErrorFileNotFound, hipErrorOutOfMemory, hipErrorSharedObjectInitFailed, hipErrorNotInitialized

Member Function/Subroutine Documentation

◆ hipmoduleload_()

integer(kind(hipsuccess)) function hipfort::hipmoduleload::hipmoduleload_ ( type(c_ptr)  mymodule,
type(c_ptr), value  fname 
)

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