 #include <assert.h>
 #endif
 
-//! The texture for reading the pdata pos array
-texture<float4, 1, cudaReadModeElementType> pdata_pos_tex;
-//! The texture for reading the pdata vel array
-texture<float4, 1, cudaReadModeElementType> pdata_vel_tex;
-//! The texture for reading the pdata accel array
-texture<float4, 1, cudaReadModeElementType> pdata_accel_tex;
-//! The texture for reading in the pdata image array
-texture<int4, 1, cudaReadModeElementType> pdata_image_tex;
-//! The texture for reading particle mass
-texture<float, 1, cudaReadModeElementType> pdata_mass_tex;
-
-//! Shared memory used in reducing the 2K sum
-extern __shared__ float nvt_sdata[];
-
 /*! \file TwoStepNVTGPU.cu
     \brief Defines GPU kernel code for NVT integration on the GPU. Used by TwoStepNVTGPU.
 */

/*! \param pdata Particle Data to step forward in time
    \param d_group_members Device array listing the indicies of the mebers of the group to integrate
    \param group_size Number of members in the group
    \param Xi current value of the NVT degree of freedom Xi
    \param deltaT Amount of real time to step forward in one time step
*/

void gpu_nvt_step_two_kernel(gpu_pdata_arrays pdata,
                             unsigned int *d_group_members,
                             unsigned int group_size,
                             float4 *d_net_force,
                             float Xi,
                             float deltaT)
    {
