Coverage Control Library
|
File for generating the world map IDF using CUDA. More...
#include <cuda_runtime.h>
#include <thrust/device_ptr.h>
#include <thrust/extrema.h>
#include <cmath>
#include <sstream>
#include "CoverageControl/constants.h"
#include "CoverageControl/cuda/geometry_utils.cuh"
#include "CoverageControl/extern/cuda_helpers/helper_cuda.h"
#include "CoverageControl/generate_world_map.h"
Go to the source code of this file.
Namespaces | |
namespace | CoverageControl |
Namespace for the CoverageControl library. | |
Functions | |
__device__ float2 | TransformPoint (BND_Cuda const *device_dists, int i, float2 const &in_point) |
__device__ float | IntegrateQuarterPlane (BND_Cuda const &bnd, float2 const &in_point) |
__device__ float | ComputeImportanceBND (BND_Cuda const *device_dists, float2 const &bottom_left, float2 const &top_right, float2 const &mid_pt_cell) |
__device__ float | ComputeImportancePoly (Polygons_Cuda const &device_polygons, float2 const &mid_pt_cell) |
__global__ void | kernel (BND_Cuda const *device_dists, Polygons_Cuda const device_polygons, float *importance_vec) |
__global__ void | normalize (float *importance_vec) |
void | generate_world_map_cuda (BND_Cuda *, Polygons_Cuda_Host const &, int const, int const, float const, float const, float const, float *importance_vec, float &) |
Function to generate the world map on the device. | |
Variables | |
__device__ __constant__ int | cu_num_dists |
__device__ __constant__ int | cu_map_size |
__device__ __constant__ float | cu_resolution |
__device__ __constant__ float | cu_truncation |
__device__ __constant__ float | cu_trun_sq |
__device__ __constant__ float | cu_OneBySqrt2 |
__device__ __constant__ float | cu_normalization_factor |
__device__ __constant__ int | cu_polygons_num_pts |
__device__ __constant__ int | cu_num_polygons |
File for generating the world map IDF using CUDA.
Definition in file generate_world_map.cu.