HOPS
HOPS class reference
Functions
vector_sum.h File Reference
#include <cuComplex.h>
#include <cufft.h>
#include <stdint.h>
#include <cuda_runtime_api.h>
#include <cuda.h>

Go to the source code of this file.

Functions

__global__ void cuda_vector_add (float *a, float *b, float *c, int length)
 
__global__ void cuda_vector_reduce (float *a, float *b, int length)
 
void vector_reduce (float *a, float *b, int n)
 
void vector_sum (float *a, float *b, float *c, int n)
 

Function Documentation

◆ cuda_vector_add()

__global__ void cuda_vector_add ( float *  a,
float *  b,
float *  c,
int  length 
)

◆ cuda_vector_reduce()

__global__ void cuda_vector_reduce ( float *  a,
float *  b,
int  length 
)

◆ vector_reduce()

void vector_reduce ( float *  a,
float *  b,
int  n 
)

◆ vector_sum()

void vector_sum ( float *  a,
float *  b,
float *  c,
int  n 
)