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:
parent
7006391936
commit
31e078506a
|
@ -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__
|
||||
|
|
Loading…
Reference in a new issue