Annotate temporary_allocator's member functions with __host__ __device__.