19 #include <cuda_runtime.h> 24 #define BLOCK_WIDTH 16 25 #define BLOCK_HEIGHT 16 29 #define TEMPLATE_ROUTINE_INSTANCE(ret, routine) template ret routine 31 #define DATA_TRANSFER_INST(type) \ 32 TEMPLATE_ROUTINE_INSTANCE( \ 33 bool, data_transfer(type *dst, const type *src, const int size)) 35 #define CUDA_CHECK(call) \ 37 const cudaError_t error = call; \ 38 if (error != cudaSuccess) { \ 39 printf("Error: %s:%d, ", __FILE__, __LINE__); \ 40 printf("code: %d, reasone: %s\n", error, cudaGetErrorString(error)); \ 48 unsigned int *cind_L,
const int nnz_L);
54 unsigned int *cind_L,
const int nnz_L);
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
bool fill_lower_left(int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L)
Planning module main class. It processes GPS and IMU as input, to generate planning info...
__global__ void data_transfer_gpu(T *dst, const T *src, const int size)
__global__ void fill_lower_left_gpu(int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L)
bool data_transfer(T *dst, const T *src, const int size)