                         grid.y = grid.x/65535 + 1;
                         grid.x = 65535;
                         }
-
-                    shared_bytes += sizeof(Scalar)*block_size;
 
                     gpu_compute_pair_aniso_forces_kernel<evaluator, 0, 1>
                         <<<grid, block_size, shared_bytes>>>(pair_args.d_force,

    };

#ifdef NVCC
//! Texture for reading particle positions
scalar4_tex_t aniso_pdata_pos_tex;


                        grid.x = 65535;
                        }

                    gpu_compute_pair_aniso_forces_kernel<evaluator, 0, 0>
                        <<<grid, block_size, shared_bytes>>>(pair_args.d_force,
                                                      pair_args.d_torque,
