Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
hip_intf.F90 File Reference

Go to the source code of this file.

Data Types

interface  hip_intf::hipmalloc
 
interface  hip_intf::hipfree
 
interface  hip_intf::hipmemcpy
 
interface  hip_intf::hipmemcpyasync
 
interface  hip_intf::hipdevicesynchronize
 
interface  hip_intf::hipdevicegetname
 
interface  hip_intf::hipgetdevicecount
 
interface  hip_intf::hipstreamcreate
 
interface  hip_intf::hipstreamcreatewithflags
 
interface  hip_intf::hipstreamcreatewithpriority
 
interface  hip_intf::hipstreamdestroy
 
interface  hip_intf::hipstreamsynchronize
 
interface  hip_intf::hipstreamwaitevent
 
interface  hip_intf::hipdevicegetstreampriorityrange
 
interface  hip_intf::hipeventcreate
 
interface  hip_intf::hipeventdestroy
 
interface  hip_intf::hipeventcreatewithflags
 
interface  hip_intf::hipeventrecord
 
interface  hip_intf::hipeventsynchronize
 

Modules

module  hip_intf
 Fortran HIP interface.
 

Enumerations

enum  {
  hip_intf::hipsuccess = 0 , hip_intf::hiperrorinvalidcontext = 1 , hip_intf::hiperrorinvalidkernelfile = 2 , hip_intf::hiperrormemoryallocation = 3 ,
  hip_intf::hiperrorinitializationerror = 4 , hip_intf::hiperrorlaunchfailure = 5 , hip_intf::hiperrorlaunchoutofresources = 6 , hip_intf::hiperrorinvaliddevice = 7 ,
  hip_intf::hiperrorinvalidvalue = 8 , hip_intf::hiperrorinvaliddevicepointer = 9 , hip_intf::hiperrorinvalidmemcpydirection = 10 , hip_intf::hiperrorunknown = 11 ,
  hip_intf::hiperrorinvalidresourcehandle = 12 , hip_intf::hiperrornotready = 13 , hip_intf::hiperrornodevice = 14 , hip_intf::hiperrorpeeraccessalreadyenabled = 15 ,
  hip_intf::hiperrorpeeraccessnotenabled = 16 , hip_intf::hiperrorruntimememory = 17 , hip_intf::hiperrorruntimeother = 18 , hip_intf::hiperrorhostmemoryalreadyregistered = 19 ,
  hip_intf::hiperrorhostmemorynotregistered = 20 , hip_intf::hiperrormapbufferobjectfailed = 21 , hip_intf::hiperrortbd = 22
}
 Enum hipError_t. More...
 
enum  {
  hip_intf::hipmemcpyhosttohost = 0 , hip_intf::hipmemcpyhosttodevice = 1 , hip_intf::hipmemcpydevicetohost = 2 , hip_intf::hipmemcpydevicetodevice = 3 ,
  hip_intf::hipmemcpydefault = 4
}
 Enum hipMemcpyKind. More...
 

Functions/Subroutines

subroutine hip_intf::hip_init
 
subroutine hip_intf::hip_finalize
 
subroutine hip_intf::hip_device_name (name)
 
integer function hip_intf::hip_device_count ()
 Return the number of available HIP devices.
 

Variables

type(c_ptr), bind(Chip_intf::glb_cmd_queue = C_NULL_PTR
 Global HIP command queue.
 
type(c_ptr), bind(Chip_intf::aux_cmd_queue = C_NULL_PTR
 Aux HIP command queue.
 
integer hip_intf::strm_high_prio
 High priority stream setting.
 
integer hip_intf::strm_low_prio
 Low priority stream setting.