[Beignet] [PATCH] replace hash_map with map

Andi Kleen andi at firstfloor.org
Thu Dec 25 22:13:23 PST 2014


On Fri, Dec 26, 2014 at 06:55:31AM +0100, Andi Kleen wrote:
> On Fri, Dec 26, 2014 at 05:26:19AM +0000, Guo, Yejun wrote:
> > Hash_map is defined inside beignet with std::hash, std::equal_to and std::tr1::unordered_map.  Std::hash is not supported by gcc 4.4.7, for example, which is the default compiler of centos 6.5.
> 
> But it has hash_map, it's just not in std:: but in ext::

Actually in __gnu_cxx sorry

> 
> So simply import from both name spaces.

-Andi


More information about the Beignet mailing list