cheshirekow  v0.1.0
mpblocks::dubins::curves_cuda::kernels Namespace Reference

Functions

template<SolutionId Id, typename Format_t >
__device__ void applySolver (const linalg::Matrix< Format_t, 3, 1 > &q0, const linalg::Matrix< Format_t, 3, 1 > &q1, const Format_t r, DistanceAndId< Format_t > &best)
 
template<SolutionId Id, typename Format_t >
__device__ void applySolver (const linalg::Matrix< Format_t, 3, 1 > &q0, const linalg::Matrix< Format_t, 3, 1 > &q1, const Format_t r, Format_t &best)
 
template<typename Format_t >
__global__ void distance_from_set (Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the distance from a batch of many dubins states to a single dubins state More...
 
template<typename Format_t >
__global__ void distance_from_set_debug (Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the distance from a batch of many dubins states to a single dubins state More...
 
template<typename Format_t >
__global__ void distance_from_set_with_id (Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the distance from a batch of many dubins states to a single dubins state More...
 
template<typename Format_t >
__global__ void distance_to_set (Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the distance from a single dubins state to a batch of many dubins states More...
 
template<typename Format_t >
__global__ void distance_to_set_debug (Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the distance from a single dubins state to a batch of many dubins states More...
 
template<typename Format_t >
__global__ void distance_to_set_with_id (Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the distance from a single dubins state to a batch of many dubins states More...
 
template<typename Format_t >
__global__ void group_distance_to_set (EuclideanParams< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the euclidean distance from a single dubins state to a batch of many dubins states More...
 
template<typename Format_t >
__global__ void group_distance_to_set_with_id (EuclideanParams< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 batch-compute the euclidean distance from a single dubins state to a batch of many dubins states More...
 
template<typename Format_t >
__device__ void writeSolution (DebugCurved< Format_t > &soln, Result< Format_t > &result, int off, int pitch, int idx, Format_t *g_out)
 
template<typename Format_t >
__device__ void writeSolution (DebugStraight< Format_t > &soln, Result< Format_t > &result, int off, int pitch, int idx, Format_t *g_out)
 

Function Documentation

template<SolutionId Id, typename Format_t >
__device__ void mpblocks::dubins::curves_cuda::kernels::applySolver ( const linalg::Matrix< Format_t, 3, 1 > &  q0,
const linalg::Matrix< Format_t, 3, 1 > &  q1,
const Format_t  r,
DistanceAndId< Format_t > &  best 
)

Definition at line 42 of file kernels.cu.hpp.

template<SolutionId Id, typename Format_t >
__device__ void mpblocks::dubins::curves_cuda::kernels::applySolver ( const linalg::Matrix< Format_t, 3, 1 > &  q0,
const linalg::Matrix< Format_t, 3, 1 > &  q1,
const Format_t  r,
Format_t &  best 
)

Definition at line 57 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::distance_from_set ( Params< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the distance from a batch of many dubins states to a single dubins state

< number of blocks

< number of blocks

Parameters
pradius and query state

Definition at line 265 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::distance_from_set_debug ( Params< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the distance from a batch of many dubins states to a single dubins state

< number of blocks

< number of blocks

Parameters
pradius and query state

Definition at line 580 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::distance_from_set_with_id ( Params< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the distance from a batch of many dubins states to a single dubins state

< number of blocks

< number of blocks

Parameters
pradius and query state

Definition at line 413 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::distance_to_set ( Params< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the distance from a single dubins state to a batch of many dubins states

< number of blocks

< number of blocks

Parameters
pradius and query state

Definition at line 193 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::distance_to_set_debug ( Params< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the distance from a single dubins state to a batch of many dubins states

< number of blocks

< number of blocks

Parameters
pradius and query state

Definition at line 489 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::distance_to_set_with_id ( Params< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the distance from a single dubins state to a batch of many dubins states

< number of blocks

< number of blocks

Parameters
pradius and query state

Definition at line 337 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::group_distance_to_set ( EuclideanParams< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the euclidean distance from a single dubins state to a batch of many dubins states

< number of blocks

< number of blocks

Definition at line 669 of file kernels.cu.hpp.

template<typename Format_t >
__global__ void mpblocks::dubins::curves_cuda::kernels::group_distance_to_set_with_id ( EuclideanParams< Format_t >  p,
Format_t *  g_in,
unsigned int  pitchIn,
Format_t *  g_out,
unsigned int  pitchOut,
unsigned int  n 
)

batch-compute the euclidean distance from a single dubins state to a batch of many dubins states

< number of blocks

< number of blocks

Definition at line 734 of file kernels.cu.hpp.

template<typename Format_t >
__device__ void mpblocks::dubins::curves_cuda::kernels::writeSolution ( DebugCurved< Format_t > &  soln,
Result< Format_t > &  result,
int  off,
int  pitch,
int  idx,
Format_t *  g_out 
)

Definition at line 79 of file kernels.cu.hpp.

template<typename Format_t >
__device__ void mpblocks::dubins::curves_cuda::kernels::writeSolution ( DebugStraight< Format_t > &  soln,
Result< Format_t > &  result,
int  off,
int  pitch,
int  idx,
Format_t *  g_out 
)

Definition at line 124 of file kernels.cu.hpp.