bool operator()(const boost::compute::device &d) const { return d.supports_extension(extension); }
bool operator()(const boost::compute::device &d) const { return d.supports_extension("cl_khr_fp64") || d.supports_extension("cl_amd_fp64"); }