Hi,

On Wed, 17 Aug 2016 13:37:48 -0400
Erik Schnetter <[email protected]> wrote:

> It's been some time since I looked at the makefile and run-time magic
> in pocl that handles architecture selection, so part of my answer
> might be outdated.

Yes, it is :) actually there are two options:

1) pocl has a "distro" build option (CMake only). If enabled, it will
build several kernel libraries and then select a suitable one at
runtime. Downside: build time goes up significantly

2) You can define LLC_HOST_CPU on the CMake invocation line, then
autodetection is skipped and only one library is built, for that CPU.
Note the value must be a CPU name as recognized by LLVM (llc -mcpu
help, probably "knl" for Matthias).

 -- mb

------------------------------------------------------------------------------
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to