Page MenuHomec4science

gradientgpu.cuh
No OneTemporary

File Metadata

Created
Mon, Mar 3, 00:25

gradientgpu.cuh

/*
* gradientgpu.cuh
*
* Created on: Nov 29, 2016
* Author: cerschae
*/
#ifndef GRADIENTGPU_CUH_
#define GRADIENTGPU_CUH_
#include "cudafunctions.cuh"
#include "structure.h"
struct point grad_halo_piemd_SOA_GPU(const struct point *pImage, int Nlens, const struct Potential_SOA *lens);
__global__ void piemd_GPU(double *grad_x_gpu, double * grad_y_gpu, point *pImage, int Nlens, double * lens_x, double *lens_y, double * lens_b0, double *lens_angle, double *lens_epot, double *lens_rcore, double *lens_rcut);
__device__ struct point rotateCoordinateSystem_GPU(struct point P, double theta);
__device__ static double atomicAdd_double(double* address, double val);
#endif /* GRADIENTGPU_CUH_ */

Event Timeline