Simple GPU 1.0
Fortran GPU Computing Library with transparent CPU/GPU support
Loading...
Searching...
No Matches
gpu::gpu_stream Type Reference

Handle for CUDA streams. More...

Public Attributes

type(c_ptr) c
 C pointer to CUDA stream.
 

Detailed Description

Handle for CUDA streams.

Enables asynchronous operations and concurrent kernel execution. Only applicable when using the NVIDIA GPU backend.

type(gpu_stream) :: stream
call gpu_stream_create(stream)
! ... perform asynchronous operations ...
call gpu_stream_destroy(stream)
void gpu_stream_synchronize(void *stream)
Definition gpu_amd.c:162
void gpu_stream_create(void **ptr)
Definition gpu_cpu.c:80
void gpu_stream_destroy(void **ptr)
Definition gpu_cpu.c:84

Definition at line 158 of file simple_gpu.F90.

Member Data Documentation

◆ c

type(c_ptr) gpu::gpu_stream::c

C pointer to CUDA stream.

Definition at line 159 of file simple_gpu.F90.


The documentation for this type was generated from the following file: