pocl/pocl — pull request #143 by PromyLOPh (2014-11-06 09:54:22+00:00)
Title: Fix clCreateKernel with multiple devices

When using multiple devices (POCL_DEVICES="pthread pthread" for
example), clCreateKernel fails with CL_INVALID_PROGRAM_EXECUTABLE.

program.llvm_ir is indexed by device->dev_id.