Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
cuda_intf Module Reference

Fortran CUDA interface.

Data Types

interface  cudadevicegetstreampriorityrange
 
interface  cudadevicesynchronize
 
interface  cudaeventcreate
 
interface  cudaeventcreatewithflags
 
interface  cudaeventdestroy
 
interface  cudaeventrecord
 
interface  cudaeventsynchronize
 
interface  cudafree
 
interface  cudagetdevice
 
interface  cudagetdevicecount
 
interface  cudagetdeviceproperties
 
interface  cudamalloc
 
interface  cudamemcpy
 
interface  cudamemcpyasync
 
interface  cudaprofilerstart
 
interface  cudaprofilerstop
 
interface  cudasetdevice
 
interface  cudastreamcreate
 
interface  cudastreamcreatewithflags
 
interface  cudastreamcreatewithpriority
 
interface  cudastreamdestroy
 
interface  cudastreamsynchronize
 
interface  cudastreamwaitevent
 

Enumerations

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

Functions/Subroutines

subroutine cuda_init (glb_cmd_queue, aux_cmd_queue, strm_high_prio, strm_low_prio)
 
subroutine cuda_finalize (glb_cmd_queue, aux_cmd_queue)
 
subroutine cuda_device_name (name)
 
integer function cuda_device_count ()
 Return the number of avaialble CUDA devices.
 

Enumeration Type Documentation

◆ anonymous enum

Enumerator
cudasuccess 
cudaerrorinvalidvalue 
cudaerrormemoryallocation 
cudaerrorinitializationerror 

Definition at line 43 of file cuda_intf.F90.

◆ anonymous enum

Enumerator
cudamemcpyhosttohost 
cudamemcpyhosttodevice 
cudamemcpydevicetohost 
cudamemcpydevicetodevice 
cudamemcpydefault 

Definition at line 51 of file cuda_intf.F90.

Function/Subroutine Documentation

◆ cuda_device_count()

integer function cuda_intf::cuda_device_count

Definition at line 358 of file cuda_intf.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cuda_device_name()

subroutine cuda_intf::cuda_device_name ( character(len=*), intent(inout name)

Definition at line 333 of file cuda_intf.F90.

Here is the caller graph for this function:

◆ cuda_finalize()

subroutine cuda_intf::cuda_finalize ( type(c_ptr), intent(inout glb_cmd_queue,
type(c_ptr), intent(inout aux_cmd_queue 
)

Definition at line 320 of file cuda_intf.F90.

Here is the caller graph for this function:

◆ cuda_init()

subroutine cuda_intf::cuda_init ( type(c_ptr), intent(inout glb_cmd_queue,
type(c_ptr), intent(inout aux_cmd_queue,
integer, intent(inout strm_high_prio,
integer, intent(inout strm_low_prio 
)

Definition at line 276 of file cuda_intf.F90.

Here is the caller graph for this function: