Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65387671
grid_map_GPU.cuh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jun 3, 10:40
Size
1 KB
Mime Type
text/x-c
Expires
Wed, Jun 5, 10:40 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18060718
Attached To
R1448 Lenstool-HPC
grid_map_GPU.cuh
View Options
/*
* gradientgpu.cuh
*
* Created on: Nov 29, 2016
* Author: cerschae
*/
#ifndef GRID_MAP_GPU_CUH_
#define GRID_MAP_GPU_CUH_
#include <structure_hpc.hpp>
#include "grid_gradient2_GPU.cuh"
#include "module_cosmodistances.hpp"
//type for mapping functions
typedef void (*map_gpu_function_t) (type_t *map,type_t *grid_grad2_a,type_t *grid_grad2_b,type_t *grid_grad2_c,type_t *grid_grad2_d, type_t dl0s, type_t z,int mode_amp,int nhalos,int nbgridcells_x, int nbgridcells_y);
// Amplification
//map_gpu_function_t amplif_grid_CPU_GPU(type_t *map,type_t *grid_grad2_a,type_t *grid_grad2_b,type_t *grid_grad2_c,type_t *grid_grad2_d, type_t dl0s, type_t z,int mode_amp,int nhalos,int nbgridcells_x, int nbgridcells_y);
void amplif_grid_CPU_GPU(type_t *,type_t *,type_t *,type_t *,type_t *, type_t , type_t ,int ,int ,int , int );
//General mapping function
void map_grid_GPU(map_gpu_function_t mapfunction, type_t *amplif,const struct cosmo_param *cosmo, const struct grid_param *frame, const struct Potential_SOA *lens, int Nlens,int nbgridcells, int mode_amp, type_t z );
void map_grid_GPU(map_gpu_function_t mapfunction, type_t *amplif,const struct cosmo_param *cosmo, const struct grid_param *frame, const struct Potential_SOA *lens, int Nlens, int mode_amp, type_t z, type_t dx, type_t dy, int nbgridcells_x, int nbgridcells_y, int istart = 0, int jstart = 0);
//
#endif /* GRADIENTGPU_CUH_ */
Event Timeline
Log In to Comment