| 415 | |
| 416 | template <int32_t N> |
| 417 | DEVICE_FUNCTION void add(float (&x)[N], float const (&y)[N]) |
| 418 | { |
| 419 | #pragma unroll |
| 420 | for (int32_t i = 0; i < N; ++i) |
| 421 | { |
| 422 | x[i] += y[i]; |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | template <int32_t N> |
| 427 | DEVICE_FUNCTION void normalize(float (&x)[N], float const (&bias)[N], float const (&scale)[N], float const (&m1)[N]) |
no outgoing calls
no test coverage detected