//............................. // trajectory_t typedef struct{ int Nsteps; int max_steps; step_t *steps; // points to device memory }trajectory_t;