| 374 | } |
| 375 | |
| 376 | DEVICE_FUNCTION void writeToSmem(float* smem, int32_t idx, float const (&x)[2]) |
| 377 | { |
| 378 | reinterpret_cast<float2*>(&smem[2 * idx])[0] = make_float2(x[0], x[1]); |
| 379 | } |
| 380 | |
| 381 | DEVICE_FUNCTION void writeToSmem(float* smem, int32_t idx, float const (&x)[4]) |
| 382 | { |
no outgoing calls
no test coverage detected