/usr/include/einspline/bspline_structs_cuda.h is in libeinspline-dev 0.9.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | #ifndef BSPLINE_STRUCTS_CUDA_H
#define BSPLINE_STRUCTS_CUDA_H
#define SPLINE_BLOCK_SIZE 64
////////
// 2D //
////////
// typedef struct
// {
// double x,y,z;
// } double3;
// typedef struct
// {
// double x,y,z,w;
// } double4;
typedef struct
{
float *coefs;
uint2 stride;
float2 gridInv;
} UBspline_2d_s_cuda;
typedef struct
{
float *coefs_real, *coefs_imag;
uint2 stride;
float2 gridInv;
} UBspline_2d_c_cuda;
typedef struct
{
double *coefs;
uint2 stride;
double gridInv[2];
} UBspline_2d_d_cuda;
typedef struct
{
complex_double *coefs;
uint2 stride;
double gridInv[2];
} UBspline_2d_z_cuda;
////////
// 3D //
////////
typedef struct
{
float *coefs;
uint3 stride;
float3 gridInv;
uint3 dim;
} UBspline_3d_s_cuda;
typedef struct
{
complex_float *coefs;
uint3 stride;
float3 gridInv;
uint3 dim;
} UBspline_3d_c_cuda;
typedef struct
{
double *coefs;
uint3 stride;
double3 gridInv;
uint3 dim;
} UBspline_3d_d_cuda;
typedef struct
{
complex_double *coefs;
uint3 stride;
double3 gridInv;
uint3 dim;
} UBspline_3d_z_cuda;
#endif
|