kylelutz/compute — pull request #35 by ddemidov (2013-12-27 07:39:18+00:00)
Title: Fix core.system test

The find_device check in core.system is invalid. It could fail when same device is supported by several platforms. In my case this happens for Intel CPU when both AMD and Intel platforms are installed. The CPU returned by `boost::compute::system::default_device()` is served by the AMD platform, and the CPU returned by
`boost::compute::system::find_device(name)` is served by the Intel SDK. The only thing that could be safely asserted here is that both devices have the same name.