Neko 0.9.1
A portable framework for high-order spectral element flow simulations
|
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 |
subroutine | cuda_finalize |
subroutine | cuda_device_name (name) |
integer function | cuda_device_count () |
Return the number of avaialble CUDA devices. | |
Variables | |
type(c_ptr), bind(C) | glb_cmd_queue = C_NULL_PTR |
Global HIP command queue. | |
type(c_ptr), bind(C) | aux_cmd_queue = C_NULL_PTR |
Aux HIP command queue. | |
integer | strm_high_prio |
High priority stream setting. | |
integer | strm_low_prio |
Low priority stream setting. | |
Enumerator | |
---|---|
cudasuccess | |
cudaerrorinvalidvalue | |
cudaerrormemoryallocation | |
cudaerrorinitializationerror |
Definition at line 55 of file cuda_intf.F90.
Enumerator | |
---|---|
cudamemcpyhosttohost | |
cudamemcpyhosttodevice | |
cudamemcpydevicetohost | |
cudamemcpydevicetodevice | |
cudamemcpydefault |
Definition at line 63 of file cuda_intf.F90.
Definition at line 362 of file cuda_intf.F90.
subroutine cuda_intf::cuda_device_name | ( | character(len=*), intent(inout) | name | ) |
subroutine cuda_intf::cuda_finalize |
subroutine cuda_intf::cuda_init |
type(c_ptr), bind(C) cuda_intf::aux_cmd_queue = C_NULL_PTR |
Definition at line 46 of file cuda_intf.F90.
type(c_ptr), bind(C) cuda_intf::glb_cmd_queue = C_NULL_PTR |
Definition at line 43 of file cuda_intf.F90.
integer cuda_intf::strm_high_prio |
Definition at line 49 of file cuda_intf.F90.
integer cuda_intf::strm_low_prio |
Definition at line 52 of file cuda_intf.F90.