0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-19 19:33:45 +02:00

ircd::simt: Store divisor in mean state for now.

This commit is contained in:
Jason Volk 2022-06-19 18:51:50 -07:00
parent 7006391936
commit 31e078506a

View file

@ -15,10 +15,17 @@
/// XXX eventually
struct ircd_math_mean
{
float
last, ///< Last addend.
mean, ///< Computed mean.
sum[4]; ///< Summand spread. TODO XXX
/// Summand spread. TODO XXX
float sum[4];
/// Divisor.
uint div;
/// Last addend.
float last;
/// Computed mean.
float mean;
};
#ifdef __OPENCL_VERSION__