| 84 | |
| 85 | template<class T> |
| 86 | inline bool validate_device_output(const std::vector<T> &host_output, const std::vector<T> &expected_output) |
| 87 | { |
| 88 | for(unsigned int index = 0; index < host_output.size(); index++) |
| 89 | { |
| 90 | if(host_output[index] != expected_output[index]) |
| 91 | { |
| 92 | return false; |
| 93 | } |
| 94 | } |
| 95 | return true; |
| 96 | } |
| 97 | |
| 98 | // Generating expected output for block scan when using rocprim::plus as function |
| 99 | template<class T> |
no test coverage detected