| 151 | #ifdef USE_OPENCL |
| 152 | |
| 153 | const int Platform::GetNumOpenclPlatforms() { |
| 154 | auto all_platforms = viennacl::ocl::get_platforms(); |
| 155 | return (int)all_platforms.size(); |
| 156 | } |
| 157 | |
| 158 | const int Platform::GetNumOpenclDevices() { |
| 159 | auto all_platforms = viennacl::ocl::get_platforms(); |
no test coverage detected