[Beignet] [PATCH] Backend: Fix one bug of printf because of ir reorder.

2015-01-30 Thread junyan . he
From: Junyan He junyan...@linux.intel.com The llvm will generate ir which has if.else block before if.then block. We parse the printf statement before llvm_to_gen. The later if-else analysis will reorder the if-else blocks. This cause when we print out the result, we get the wrong message from

[Beignet] runtime_alloc_host_ptr_buffer intermittent failure

2015-01-30 Thread Rebecca N. Palmer
In beignet 1.0.1 on i5-3230M Debian 8 (libdrm 2.4.58, kernel 3.16.7-ckt2-1 with the whitelist OpenCL registers patch), the recently added runtime_alloc_host_ptr_buffer (CL_MEM_ALLOC_HOST_PTR) test often fails when run as part of the whole set, but not when run by itself. The backtrace points