Exemple #1
0
 bool operator()(const backend::device &d) const {
     return d.name().find(devname) != std::string::npos;
 }
Exemple #2
0
 bool operator()(const backend::device &d) const {
     return d.compute_capability() >= cc;
 }
Exemple #3
0
 bool operator()(const backend::device &d) const {
     return d.compute_capability() >= std::make_tuple(1, 3);
 }