Neko  0.8.1
A portable framework for high-order spectral element flow simulations
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::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)
 

Variables

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