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.

-----Original Message-----
From: Beignet [mailto:[email protected]] On Behalf Of Andi 
Kleen
Sent: Friday, December 26, 2014 1:17 PM
To: [email protected]
Subject: Re: [Beignet] [PATCH] replace hash_map with map

Guo Yejun <[email protected]> writes:

> there is no strong evidence to show hash_map makes better performance 
> for beignet, since hash_map requires std::hash which is not supported 
> in some g++ old versions, so replace hash_map with map.

Are you sure? What g++ version is that?

AFAIK hash_map has been always in libstdc++ since it exist, as it always was in 
the SGI STL.

-Andi

--
[email protected] -- Speaking for myself only

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to