Boost logo

Boost-Build :

Subject: [Boost-build] Detect if OpenCL is available.
From: Daniel James (dnljms_at_[hidden])
Date: 2015-05-12 14:27:45


Hi,

Could someone help with the following issue for running the Boost.Compute
unit tests? Seems like something that Boost.Build's configure mechanism
should be able to handle.

From: https://github.com/boostorg/boost/pull/79

This should be ready to add to the test machines. One caveat however, the
> Boost.Compute unit tests assume an OpenCL implementation is available on
> the system (i.e. CL/cl.h and libOpenCL.so are present). I'm not sure the
> best way to instruct b2 and the regression-testing framework to only
> compile/run these tests on OpenCL capable machines.

thanks,

Daniel



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk