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

Handle for BLAS operations. More...

Public Attributes

type(c_ptr) c
 C pointer to BLAS handle.
 

Detailed Description

Handle for BLAS operations.

Manages cuBLAS library context (for GPU) or BLAS context (for CPU). Must be created before calling any BLAS functions and destroyed when done.

type(gpu_blas) :: handle
call gpu_blas_create(handle)
! ... perform BLAS operations ...
call gpu_blas_destroy(handle)
void gpu_blas_destroy(void **handle)
Definition gpu_cpu.c:123
void gpu_blas_create(void **handle)
Definition gpu_cpu.c:118

Definition at line 143 of file simple_gpu.F90.

Member Data Documentation

◆ c

type(c_ptr) gpu::gpu_blas::c

C pointer to BLAS handle.

Definition at line 144 of file simple_gpu.F90.


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