COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
sutra_centroider_cog.h File Reference
#include <sutra_centroider.h>
Include dependency graph for sutra_centroider_cog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SutraCentroiderCog< Tin, T >
 this class provides the centroider_cog features to COMPASS More...
 

Functions

template<class T >
void get_centroids (int size, int threads, int blocks, int n, float *d_idata, T *d_odata, T *ref, int *validx, int *validy, float *intensities, float scale, float offset, CarmaDevice *device, cudaStream_t stream=0)
 
template<class T >
void get_centroids_async (int threads, int blocks, int n, CarmaStreams *streams, T *d_idata, T *d_odata, T *alpha, float scale, float offset)
 

Function Documentation

◆ get_centroids()

template<class T >
void get_centroids ( int  size,
int  threads,
int  blocks,
int  n,
float *  d_idata,
T *  d_odata,
T *  ref,
int *  validx,
int *  validy,
float *  intensities,
float  scale,
float  offset,
CarmaDevice device,
cudaStream_t  stream = 0 
)

◆ get_centroids_async()

template<class T >
void get_centroids_async ( int  threads,
int  blocks,
int  n,
CarmaStreams streams,
T *  d_idata,
T *  d_odata,
T *  alpha,
float  scale,
float  offset 
)