using BOOST_GPU_ENABLED instead of __device__ where it was not done so