Function gw_weight_cuda
Defined in File BandwidthWeightKernel.h
Function Documentation
-
cudaError_t gw_weight_cuda(double bw, int kernel, bool adaptive, double *d_dists, double *d_weight, int ndp, int threads)
使用CUDA计算空间权重。
- 参数:
bw -- 带宽大小
kernel -- 核函数索引
adaptive -- 是否是可变带宽
d_dists -- 输入距离向量
d_weight -- 输出权重向量
ndp -- 总点数
threads -- GPU线程数
- 返回:
cudaError_t CUDA错误或成功