示例#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");
 }