thrust/thrust — pull request #218 by BryanCatanzaro (2012-08-20 22:31:41+00:00)
Title: Add __host__ __device__ decorators to prevent CUDA 5 warnings.

CUDA 5 is more strict about certain host/device warnings. This commit silences the following warnings:

```
/home/bcatanzaro/thrust/thrust/iterator/iterator_facade.h(326): warning: a __host__ function("thrust::experimental::operator==") redeclared with __host__ __device__, hence treated as a __host__ __device__ function

/home/bcatanzaro/thrust/thrust/iterator/iterator_facade.h(340): warning: a __host__ function("thrust::experimental::operator!=") redeclared with __host__ __device__, hence treated as a __host__ __device__ function

/home/bcatanzaro/thrust/thrust/iterator/iterator_facade.h(354): warning: a __host__ function("thrust::experimental::operator<") redeclared with __host__ __device__, hence treated as a __host__ __device__ function

/home/bcatanzaro/thrust/thrust/iterator/iterator_facade.h(368): warning: a __host__ function("thrust::experimental::operator>") redeclared with __host__ __device__, hence treated as a __host__ __device__ function

/home/bcatanzaro/thrust/thrust/iterator/iterator_facade.h(382): warning: a __host__ function("thrust::experimental::operator<=") redeclared with __host__ __device__, hence treated as a __host__ __device__ function

/home/bcatanzaro/thrust/thrust/iterator/iterator_facade.h(396): warning: a __host__ function("thrust::experimental::operator>=") redeclared with __host__ __device__, hence treated as a __host__ __device__ function

/home/bcatanzaro/thrust/thrust/iterator/iterator_facade.h(415): warning: a __host__ function("thrust::experimental::operator-") redeclared with __host__ __device__, hence treated as a __host__ __device__ function

/home/bcatanzaro/thrust/thrust/swap.h(66): warning: a __host__ function("thrust::swap") redeclared with __host__ __device__, hence treated as a __host__ __device__ function
```