我们定义一个
cuda_index.cuh的头文件,用于指定C函数接口形式: