hipfort Module Reference

hipfort Module Reference#

HIPFORT API Reference: hipfort Module Reference
hipfort Module Reference

Data Types

interface  hipdevicesynchronize
 Waits on all active streams on current device. More...
 
interface  hipdevicereset
 The state of current device is discarded and updated to a fresh state. More...
 
interface  hipsetdevice
 Set default device to be used for subsequent hip API calls from this thread. More...
 
interface  hipgetdevice
 Return the default device id for the calling host thread. More...
 
interface  hipgetdevicecount
 Return number of compute-capable devices. More...
 
interface  hipdevicegetattribute
 Query for a specific device attribute. More...
 
interface  hipgetdeviceproperties
 Returns device properties. More...
 
interface  hipdevicesetcacheconfig
 Set L1Shared cache partition. More...
 
interface  hipdevicegetcacheconfig
 Set Cache configuration for a specific function. More...
 
interface  hipdevicegetlimit
 Get Resource limits of current device. More...
 
interface  hipfuncsetattribute
 Set attribute for a specific function. More...
 
interface  hipfuncsetcacheconfig
 Set Cache configuration for a specific function. More...
 
interface  hipfuncsetsharedmemconfig
 Set shared memory configuation for a specific function. More...
 
interface  hipdevicegetsharedmemconfig
 Returns bank width of shared memory for current device. More...
 
interface  hipgetdeviceflags
 Gets the flags set for current device. More...
 
interface  hipdevicesetsharedmemconfig
 The bank width of shared memory on current device is set. More...
 
interface  hipsetdeviceflags
 The current device behavior is changed according the flags passed. More...
 
interface  hipchoosedevice
 Device which matches hipDeviceProp_t is returned. More...
 
interface  hipextgetlinktypeandhopcount
 Returns the link type and hop count between two devices. More...
 
interface  hipgetlasterror
 Return last error returned by any HIP runtime API call and resets the stored error code to #hipSuccess. More...
 
interface  hippeekatlasterror
 Return last error returned by any HIP runtime API call. More...
 
interface  hipstreamcreate
 Create an asynchronous stream. More...
 
interface  hipstreamcreatewithflags
 Create an asynchronous stream. More...
 
interface  hipstreamcreatewithpriority
 Create an asynchronous stream with the specified priority. More...
 
interface  hipdevicegetstreampriorityrange
 Returns numerical values that correspond to the least and greatest stream priority. More...
 
interface  hipstreamdestroy
 Destroys the specified stream. More...
 
interface  hipstreamquery
 Return #hipSuccess if all of the operations in the specified stream have completed, or #hipErrorNotReady if not. More...
 
interface  hipstreamsynchronize
 Wait for all commands in stream to complete. More...
 
interface  hipstreamwaitevent
 Make the specified compute stream wait for an event. More...
 
interface  hipstreamgetflags
 Return flags associated with this stream. More...
 
interface  hipstreamgetpriority
 Query the priority of a stream. More...
 
interface  hipextstreamcreatewithcumask
 Create an asynchronous stream with the specified CU mask. More...
 
interface  hipstreamaddcallback
 Adds a callback to be called on the host after all currently enqueued items in the stream have completed. More...
 
interface  hipeventcreatewithflags
 Create an event with the specified flags. More...
 
interface  hipeventcreate
 Create an event. More...
 
interface  hipeventrecord
 Record an event in the specified stream. More...
 
interface  hipeventdestroy
 Destroy the specified event. More...
 
interface  hipeventsynchronize
 Wait for an event to complete. More...
 
interface  hipeventelapsedtime
 Return the elapsed time between two events. More...
 
interface  hipeventquery
 Query event status. More...
 
interface  hippointergetattributes
 Return attributes for the specified pointer. More...
 
interface  hipextmallocwithflags
 Allocate memory on the default accelerator. More...
 
interface  hipmallochost
 
interface  hipmemallochost
 
interface  hiphostalloc
 
interface  hiphostgetdevicepointer
 Get Device pointer from Host Pointer allocated through hipHostMalloc. More...
 
interface  hiphostgetflags
 Return flags associated with host pointer. More...
 
interface  hiphostregister
 Register host memory so it can be accessed from the current device. More...
 
interface  hiphostunregister
 Un-register host pointer. More...
 
interface  hipmallocpitch
 Allocates at least width (in bytes) height bytes of linear memory Padding may occur to ensure alighnment requirements are met for the given row The change in width size due to padding will be returned in pitch. More...
 
interface  hipmemallocpitch
 Allocates at least width (in bytes) height bytes of linear memory Padding may occur to ensure alighnment requirements are met for the given row The change in width size due to padding will be returned in pitch. More...
 
interface  hipfreehost
 
interface  hipmemcpywithstream
 
interface  hipmemcpyhtod
 Copy data from Host to Device. More...
 
interface  hipmemcpydtoh
 Copy data from Device to Host. More...
 
interface  hipmemcpydtod
 Copy data from Device to Device. More...
 
interface  hipmemcpyhtodasync
 Copy data from Host to Device asynchronously. More...
 
interface  hipmemcpydtohasync
 Copy data from Device to Host asynchronously. More...
 
interface  hipmemcpydtodasync
 Copy data from Device to Device asynchronously. More...
 
interface  hipmodulegetglobal
 
interface  hipgetsymboladdress
 
interface  hipgetsymbolsize
 
interface  hipmemcpytosymbolasync
 
interface  hipmemcpyfromsymbolasync
 
interface  hipmemset
 Fills the first sizeBytes bytes of the memory area pointed to by dest with the ant byte value value. More...
 
interface  hipmemsetd8
 Fills the first sizeBytes bytes of the memory area pointed to by dest with the ant byte value value. More...
 
interface  hipmemsetd8async
 Fills the first sizeBytes bytes of the memory area pointed to by dest with the ant byte value value. More...
 
interface  hipmemsetd16
 Fills the first sizeBytes bytes of the memory area pointed to by dest with the ant short value value. More...
 
interface  hipmemsetd16async
 Fills the first sizeBytes bytes of the memory area pointed to by dest with the ant short value value. More...
 
interface  hipmemsetd32
 Fills the memory area pointed to by dest with the ant integer value for specified number of times. More...
 
interface  hipmemsetasync
 Fills the first sizeBytes bytes of the memory area pointed to by dev with the ant byte value value. More...
 
interface  hipmemsetd32async
 Fills the memory area pointed to by dev with the ant integer value for specified number of times. More...
 
interface  hipmemset2d
 Fills the memory area pointed to by dst with the ant value. More...
 
interface  hipmemset2dasync
 Fills asynchronously the memory area pointed to by dst with the ant value. More...
 
interface  hipmemset3d
 Fills synchronously the memory area pointed to by pitchedDevPtr with the ant value. More...
 
interface  hipmemset3dasync
 Fills asynchronously the memory area pointed to by pitchedDevPtr with the ant value. More...
 
interface  hipmemgetinfo
 Query memory info. More...
 
interface  hipmemptrgetinfo
 
interface  hiparraycreate
 
interface  hiparray3dcreate
 
interface  hipmalloc3d
 
interface  hipfreearray
 Frees an array on the device. More...
 
interface  hipfreemipmappedarray
 Frees a mipmapped array on the device. More...
 
interface  hipmalloc3darray
 Allocate an array on the device. More...
 
interface  hipmallocmipmappedarray
 Allocate a mipmapped array on the device. More...
 
interface  hipgetmipmappedarraylevel
 Gets a mipmap level of a HIP mipmapped array. More...
 
interface  hipmemcpyparam2d
 Copies memory for 2D arrays. More...
 
interface  hipmemcpyparam2dasync
 Copies memory for 2D arrays. More...
 
interface  hipmemcpy2dtoarray
 Copies data between host and device. More...
 
interface  hipmemcpytoarray
 
interface  hipmemcpyfromarray
 
interface  hipmemcpy2dfromarray
 Copies data between host and device. More...
 
interface  hipmemcpy2dfromarrayasync
 Copies data between host and device asynchronously. More...
 
interface  hipmemcpyatoh
 Copies data between host and device. More...
 
interface  hipmemcpyhtoa
 Copies data between host and device. More...
 
interface  hipmemcpy3d
 Copies data between host and device. More...
 
interface  hipmemcpy3dasync
 Copies data between host and device asynchronously. More...
 
interface  hipdrvmemcpy3d
 Copies data between host and device. More...
 
interface  hipdrvmemcpy3dasync
 Copies data between host and device asynchronously. More...
 
interface  hipdevicecanaccesspeer
 Determine if a device can access a peer's memory. More...
 
interface  hipdeviceenablepeeraccess
 Enable direct access from current device's virtual address space to memory allocations physically located on a peer device. More...
 
interface  hipdevicedisablepeeraccess
 Disable direct access from current device's virtual address space to memory allocations physically located on a peer device. More...
 
interface  hipmemgetaddressrange
 Get information on memory allocations. More...
 
interface  hipmemcpypeer
 Copies memory from one device to memory on another device. More...
 
interface  hipmemcpypeerasync
 Copies memory from one device to memory on another device. More...
 
interface  hipinit
 
interface  hipctxcreate
 
interface  hipctxdestroy
 
interface  hipctxpopcurrent
 
interface  hipctxpushcurrent
 
interface  hipctxsetcurrent
 
interface  hipctxgetcurrent
 
interface  hipctxgetdevice
 
interface  hipctxgetapiversion
 
interface  hipctxgetcacheconfig
 
interface  hipctxsetcacheconfig
 
interface  hipctxsetsharedmemconfig
 
interface  hipctxgetsharedmemconfig
 
interface  hipctxsynchronize
 
interface  hipctxgetflags
 
interface  hipctxenablepeeraccess
 
interface  hipctxdisablepeeraccess
 
interface  hipdeviceprimaryctxgetstate
 Get the state of the primary context. More...
 
interface  hipdeviceprimaryctxrelease
 Release the primary context on the GPU. More...
 
interface  hipdeviceprimaryctxretain
 Retain the primary context on the GPU. More...
 
interface  hipdeviceprimaryctxreset
 Resets the primary context on the GPU. More...
 
interface  hipdeviceprimaryctxsetflags
 Set flags for the primary context. More...
 
interface  hipdeviceget
 Returns a handle to a compute device. More...
 
interface  hipdevicecomputecapability
 Returns the compute capability of the device. More...
 
interface  hipdevicegetname
 Returns an identifer string for the device. More...
 
interface  hipdevicegetp2pattribute
 Returns a value for attr of link between two devices. More...
 
interface  hipdevicegetpcibusid
 Returns a PCI Bus Id string for the device, overloaded to take int device ID. More...
 
interface  hipdevicegetbypcibusid
 Returns a handle to a compute device. More...
 
interface  hipdevicetotalmem
 Returns the total amount of memory on the device. More...
 
interface  hipdrivergetversion
 Returns the approximate HIP driver version. More...
 
interface  hipruntimegetversion
 Returns the approximate HIP Runtime version. More...
 
interface  hipmoduleload
 Loads code object from file into a hipModule_t. More...
 
interface  hipmoduleunload
 Frees the module. More...
 
interface  hipmodulegetfunction
 Function with kname will be extracted if present in module. More...
 
interface  hipfuncgetattributes
 Find out attributes for a given function. More...
 
interface  hipfuncgetattribute
 Find out a specific attribute for a given function. More...
 
interface  hipmodulegettexref
 
interface  hipmoduleloaddata
 builds module from code object which resides in host memory. More...
 
interface  hipmoduleloaddataex
 builds module from code object which resides in host memory. More...
 
interface  hipmodulelaunchkernel
 launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelparams or extra More...
 
interface  hiplaunchcooperativekernel
 launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelparams or extra, where thread blocks can cooperate and synchronize as they execute More...
 
interface  hiplaunchcooperativekernelmultidevice
 Launches kernels on multiple devices where thread blocks can cooperate and synchronize as they execute. More...
 
interface  hipmoduleoccupancymaxpotentialblocksize
 
interface  hipmoduleoccupancymaxpotentialblocksizewithflags
 
interface  hipmoduleoccupancymaxactiveblockspermultiprocessor
 Returns occupancy for a device function. More...
 
interface  hipoccupancymaxactiveblockspermultiprocessor
 Returns occupancy for a device function. More...
 
interface  hipoccupancymaxpotentialblocksize
 determine the grid and block sizes to achieves maximum occupancy for a kernel More...
 
interface  hipextlaunchmultikernelmultidevice
 Launches kernels on multiple devices and guarantees all specified kernels are dispatched on respective streams before enqueuing any other work on the specified streams from any other threads. More...
 
interface  hipprofilerstart
 
interface  hipprofilerstop
 
interface  hipipcgetmemhandle
 Gets an interprocess memory handle for an existing device memory allocation. More...
 
interface  hipipcopenmemhandle
 Opens an interprocess memory handle exported from another process and returns a device pointer usable in the local process. More...
 
interface  hipipcclosememhandle
 Close memory mapped with hipIpcOpenMemHandle. More...
 
interface  hipipcgeteventhandle
 
interface  hipipcopeneventhandle
 
interface  hipconfigurecall
 Configure a kernel launch. More...
 
interface  hipsetupargument
 Set a kernel argument. More...
 
interface  hiplaunchbyptr
 Launch a kernel. More...
 
interface  hiplaunchkernel
 C compliant kernel launch API. More...
 
interface  hipmemprefetchasync
 Prefetches memory to the specified destination device using AMD HMM. More...
 
interface  hipmemadvise
 Advise about the usage of a given memory range to AMD HMM. More...
 
interface  hipmemrangegetattribute
 Query an attribute of a given memory range in AMD HMM. More...
 
interface  hipmemrangegetattributes
 Query attributes of a given memory range in AMD HMM. More...
 
interface  hipextlaunchkernel
 
interface  hipbindtexture2d
 
interface  hipbindtexturetoarray
 
interface  hipbindtexturetomipmappedarray
 
interface  hipgettexturealignmentoffset
 
interface  hipgettexturereference
 
interface  hipunbindtexture
 
interface  hipcreatetextureobject
 
interface  hipdestroytextureobject
 
interface  hipgetchanneldesc
 
interface  hipgettextureobjectresourcedesc
 
interface  hipgettextureobjectresourceviewdesc
 
interface  hipgettextureobjecttexturedesc
 
interface  hiptexrefgetaddress
 
interface  hiptexrefgetaddressmode
 
interface  hiptexrefgetfiltermode
 
interface  hiptexrefgetflags
 
interface  hiptexrefgetformat
 
interface  hiptexrefgetmaxanisotropy
 
interface  hiptexrefgetmipmapfiltermode
 
interface  hiptexrefgetmipmaplevelbias
 
interface  hiptexrefgetmipmaplevelclamp
 
interface  hiptexrefgetmipmappedarray
 
interface  hiptexrefsetaddress
 
interface  hiptexrefsetaddress2d
 
interface  hiptexrefsetaddressmode
 
interface  hiptexrefsetarray
 
interface  hiptexrefsetbordercolor
 
interface  hiptexrefsetfiltermode
 
interface  hiptexrefsetflags
 
interface  hiptexrefsetformat
 
interface  hiptexrefsetmaxanisotropy
 
interface  hiptexrefsetmipmapfiltermode
 
interface  hiptexrefsetmipmaplevelbias
 
interface  hiptexrefsetmipmaplevelclamp
 
interface  hiptexrefsetmipmappedarray
 
interface  hipmipmappedarraycreate
 
interface  hipmipmappedarraydestroy
 
interface  hipmipmappedarraygetlevel
 
interface  hiptexobjectcreate
 
interface  hiptexobjectdestroy
 
interface  hiptexobjectgetresourcedesc
 
interface  hiptexobjectgetresourceviewdesc
 
interface  hiptexobjectgettexturedesc
 
interface  hipregisterapicallback
 CallbackActivity API. More...
 
interface  hipremoveapicallback
 
interface  hipregisteractivitycallback
 
interface  hipremoveactivitycallback