#include <cuda_runtime.h>
Go to the source code of this file.
|
bool | apollo::planning::InitialCuda () |
|
__global__ void | apollo::planning::fill_lower_left_gpu (int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L) |
|
template<typename T > |
__global__ void | apollo::planning::data_transfer_gpu (T *dst, const T *src, const int size) |
|
bool | apollo::planning::fill_lower_left (int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L) |
|
template<typename T > |
bool | apollo::planning::data_transfer (T *dst, const T *src, const int size) |
|
◆ BLOCK_1
◆ BLOCK_HEIGHT
◆ BLOCK_WIDTH
◆ CUDA_CHECK
#define CUDA_CHECK |
( |
|
call | ) |
|
Value:{ \
const cudaError_t error = call; \
if (error != cudaSuccess) { \
printf("Error: %s:%d, ", __FILE__, __LINE__); \
printf("code: %d, reasone: %s\n", error, cudaGetErrorString(error)); \
return false; \
} \
}
◆ DATA_TRANSFER_INST
#define DATA_TRANSFER_INST |
( |
|
type | ) |
|
Value:#define TEMPLATE_ROUTINE_INSTANCE(ret, routine)
Definition: planning_block.h:29
bool data_transfer(T *dst, const T *src, const int size)
◆ TEMPLATE_ROUTINE_INSTANCE
#define TEMPLATE_ROUTINE_INSTANCE |
( |
|
ret, |
|
|
|
routine |
|
) |
| template ret routine |