| 25 | namespace compute = boost::compute; |
| 26 | |
| 27 | int rand_int() |
| 28 | { |
| 29 | return static_cast<int>((rand() / double(RAND_MAX)) * 25.0); |
| 30 | } |
| 31 | |
| 32 | template<class T> |
| 33 | double perf_accumulate(const compute::vector<T>& data, |
nothing calls this directly
no outgoing calls
no test coverage detected