Neko  0.9.0
A portable framework for high-order spectral element flow simulations
cuda_intf.F90 File Reference

Go to the source code of this file.

Data Types

interface  cuda_intf::cudaMalloc
 
interface  cuda_intf::cudaFree
 
interface  cuda_intf::cudaMemcpy
 
interface  cuda_intf::cudaMemcpyAsync
 
interface  cuda_intf::cudaDeviceSynchronize
 
interface  cuda_intf::cudaGetDeviceProperties
 
interface  cuda_intf::cudaStreamCreate
 
interface  cuda_intf::cudaStreamCreateWithFlags
 
interface  cuda_intf::cudaStreamCreateWithPriority
 
interface  cuda_intf::cudaStreamDestroy
 
interface  cuda_intf::cudaStreamSynchronize
 
interface  cuda_intf::cudaStreamWaitEvent
 
interface  cuda_intf::cudaDeviceGetStreamPriorityRange
 
interface  cuda_intf::cudaProfilerStart
 
interface  cuda_intf::cudaProfilerStop
 
interface  cuda_intf::cudaEventCreate
 
interface  cuda_intf::cudaEventDestroy
 
interface  cuda_intf::cudaEventCreateWithFlags
 
interface  cuda_intf::cudaEventRecord
 
interface  cuda_intf::cudaEventSynchronize
 
interface  cuda_intf::cudaGetDeviceCount
 
interface  cuda_intf::cudaGetDevice
 
interface  cuda_intf::cudaSetDevice
 

Modules

module  cuda_intf
 Fortran CUDA interface.
 

Enumerations

enum  { cuda_intf::cudasuccess = 0 , cuda_intf::cudaerrorinvalidvalue = 1 , cuda_intf::cudaerrormemoryallocation = 2 , cuda_intf::cudaerrorinitializationerror = 3 }
 Enum cudaError. More...
 
enum  {
  cuda_intf::cudamemcpyhosttohost = 0 , cuda_intf::cudamemcpyhosttodevice = 1 , cuda_intf::cudamemcpydevicetohost = 2 , cuda_intf::cudamemcpydevicetodevice = 3 ,
  cuda_intf::cudamemcpydefault = 4
}
 Enum cudaMemcpyKind. More...
 

Functions/Subroutines

subroutine cuda_intf::cuda_init
 
subroutine cuda_intf::cuda_finalize
 
subroutine cuda_intf::cuda_device_name (name)
 
integer function cuda_intf::cuda_device_count ()
 Return the number of avaialble CUDA devices. More...
 

Variables

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