Neko 1.99.1
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::cudamemsetasync
 
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 (glb_cmd_queue, aux_cmd_queue, strm_high_prio, strm_low_prio)
 
subroutine cuda_intf::cuda_finalize (glb_cmd_queue, aux_cmd_queue)
 
subroutine cuda_intf::cuda_device_name (name)
 
integer function cuda_intf::cuda_device_count ()
 Return the number of avaialble CUDA devices.