Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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.
 

Variables

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