Пример #1
0
 bool operator()(const boost::compute::device &d) const {
     return d.supports_extension(extension);
 }
Пример #2
0
 bool operator()(const boost::compute::device &d) const {
     return
         d.supports_extension("cl_khr_fp64") ||
         d.supports_extension("cl_amd_fp64");
 }