| 52 | } |
| 53 | dt_float32* zero_device() { return &m_const_scalars->f32[0]; } |
| 54 | dt_float32* one_device() { return &m_const_scalars->f32[1]; } |
| 55 | __half* zero_device_h() { return &m_const_scalars->f16[0].cuda_x; } |
| 56 | __half* one_device_h() { return &m_const_scalars->f16[1].cuda_x; } |
| 57 | dt_int32* zero_device_i32() { return &m_const_scalars->i32[0]; } |