cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
cudacomp.h File Reference

Function prototypes for CUDA/MAGMA wrapper. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

1. INITIALIZATION

Initialization functions

void __attribute__ ((constructor)) libinit_cudacomp()
 Initialize module. More...
 
int CUDACOMP_init ()
 Initialize cudacomp module and command line interface. More...
 
int CUDACOMP_printGPUMATMULTCONF (int index)
 
errno_t GPUcomp_test (long NBact, long NBmodes, long WFSsize, long GPUcnt)
 

Detailed Description

Function prototypes for CUDA/MAGMA wrapper.

Also uses MAGMA library

Bug:
Magma can hang on magma_dsyevd_gpu

Function Documentation

◆ __attribute__()

void __attribute__ ( (constructor)  )

Initialize module.

◆ CUDACOMP_init()

int CUDACOMP_init ( )

Initialize cudacomp module and command line interface.

Initialize CUDA and MAGMA

Finds CUDA devices Initializes CUDA and MAGMA libraries

Returns
number of CUDA devices found

◆ CUDACOMP_printGPUMATMULTCONF()

int CUDACOMP_printGPUMATMULTCONF ( int  index)

◆ GPUcomp_test()

errno_t GPUcomp_test ( long  NBact,
long  NBmodes,
long  WFSsize,
long  GPUcnt 
)