Re: [Beignet] Haswell issues

2015-04-29 Thread Andi Kleen
"Zhigang Gong" writes: >> but I don't have the hardware to try it. > We will do some testing on this. And once we get the exact version, I will > submit a > new patch to give some warn if the user is using an unsupported kernel. As > now we > have better solution than patch kernel manually, I wi

Re: [Beignet] [PATCH] replace hash_map with map

2014-12-25 Thread Andi Kleen
On Fri, Dec 26, 2014 at 06:55:31AM +0100, Andi Kleen wrote: > On Fri, Dec 26, 2014 at 05:26:19AM +, 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 > >

Re: [Beignet] [PATCH] replace hash_map with map

2014-12-25 Thread Andi Kleen
On Fri, Dec 26, 2014 at 05:26:19AM +, 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 i

Re: [Beignet] [PATCH] replace hash_map with map

2014-12-25 Thread Andi Kleen
Guo Yejun 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 l

Re: [Beignet] Problems with recent beignet

2014-10-17 Thread Andi Kleen
On Fri, Oct 17, 2014 at 03:53:48PM +0800, He Junyan wrote: > Yes, we have found this problem. > New version beignet requires libdrm at least 2.4.52 > Old version of libdrm will cause the build fail. > We have already add the libdrm version check You think that will resolve the assertation failure?

[Beignet] Problems with recent beignet

2014-10-17 Thread Andi Kleen
I tried the current beignet master on my OpenSUSE 13.1 HSW and ran into the following new problems (older versions worked): - With my DRM version I have the build always fails with: src/intel/intel_gpgpu.c: In function ‘intel_gpgpu_setup_bti_gen8’: src/intel/intel_gpgpu.c:922:39: error: ‘drm_in

Re: [Beignet] [PATCH v2] remove lspci, gbe_bin_genenrater would generator llvm binary by default.

2014-07-08 Thread Andi Kleen
xionghu@intel.com writes: > From: Luo > > driver can get chipset id by ioctl instead of calling lspci in cmake; > user could generator gen binary by configuring cmake option > -DGEN_PCI_ID= or calling the gbe_bin_generater with option -t > GEN_PCI_ID. But what would a distribution do whi