66 template <
class TReal,
class TIndex,
class TKernelIndex>
74 const TReal*
const __restrict__ inp_features,
75 const TReal*
const __restrict__ inp_importance,
76 size_t neighbors_index_size,
77 const TIndex*
const __restrict__ neighbors_index,
78 const TKernelIndex*
const __restrict__ neighbors_kernel_index,
79 const TReal*
const __restrict__ neighbors_importance,
80 const int64_t*
const __restrict__ neighbors_row_splits,
81 const int num_kernel_elements,
86 template <
class TReal,
class TIndex,
class TKernelIndex>
88 const cudaStream_t& stream,
95 const TReal*
const __restrict__ inp_features,
96 const TReal*
const __restrict__ inp_neighbors_importance_sum,
97 const int64_t*
const __restrict__ inp_neighbors_prefix_sum,
98 size_t neighbors_index_size,
99 const TIndex*
const __restrict__ neighbors_index,
100 const TKernelIndex*
const __restrict__ neighbors_kernel_index,
101 const TReal*
const __restrict__ neighbors_importance,
102 const int64_t*
const __restrict__ neighbors_row_splits,
103 const int num_kernel_elements,
void FillColumnTranspose(const cudaStream_t &stream, TFeat *columns, int in_channels, TIndex begin_idx, TIndex end_idx, TIndex num_out, const TReal *const __restrict__ out_positions, TIndex num_inp, const TReal *const __restrict__ inp_positions, const TFeat *const __restrict__ inp_features, const TFeat *const __restrict__ inp_neighbors_importance_sum, const int64_t *const __restrict__ inp_neighbors_prefix_sum, size_t neighbors_index_size, const TIndex *const __restrict__ neighbors_index, const TFeat *const __restrict__ neighbors_importance, const int64_t *const __restrict__ neighbors_row_splits, const TReal *const __restrict__ extents, const TReal *const __restrict__ offsets, const std::vector< int > &filter_dims, InterpolationMode interpolation, CoordinateMapping coordinate_mapping, bool align_corners, bool individual_extent, bool isotropic_extent, bool normalize)
void FillColumn(const cudaStream_t &stream, TFeat *columns, int in_channels, TIndex begin_idx, TIndex end_idx, TIndex num_out, const TReal *const __restrict__ out_positions, TIndex num_inp, const TReal *const __restrict__ inp_positions, const TFeat *const __restrict__ inp_features, const TFeat *const __restrict__ inp_importance, size_t neighbors_index_size, const TIndex *const __restrict__ neighbors_index, const TFeat *const __restrict__ neighbors_importance, const int64_t *const __restrict__ neighbors_row_splits, const TReal *const __restrict__ extents, const TReal *const __restrict__ offsets, const std::vector< int > &filter_dims, InterpolationMode interpolation, CoordinateMapping coordinate_mapping, bool align_corners, bool individual_extent, bool isotropic_extent, bool normalize)
Definition: PinholeCameraIntrinsic.cpp:16