| 123 | |
| 124 | template<class T> |
| 125 | struct transform |
| 126 | { |
| 127 | __device__ __host__ |
| 128 | inline T |
| 129 | operator()(const T& a) const |
| 130 | { |
| 131 | return rocprim::plus<T>()(a, T(5)); |
| 132 | } |
| 133 | }; |
| 134 | |
| 135 | TYPED_TEST(RocprimDeviceTransformTests, Transform) |
| 136 | { |
no outgoing calls