mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
bug #1043: Avoid integer conversion sign warning
This commit is contained in:
parent
1bdd06a199
commit
e5c78d85c8
@ -104,13 +104,13 @@ void evaluateProductBlockingSizesHeuristic(Index& k, Index& m, Index& n, Index n
|
|||||||
enum {
|
enum {
|
||||||
kdiv = KcFactor * (Traits::mr * sizeof(LhsScalar) + Traits::nr * sizeof(RhsScalar)),
|
kdiv = KcFactor * (Traits::mr * sizeof(LhsScalar) + Traits::nr * sizeof(RhsScalar)),
|
||||||
ksub = Traits::mr * Traits::nr * sizeof(ResScalar),
|
ksub = Traits::mr * Traits::nr * sizeof(ResScalar),
|
||||||
k_mask = (0xffffffff/8)*8,
|
k_mask = -8,
|
||||||
|
|
||||||
mr = Traits::mr,
|
mr = Traits::mr,
|
||||||
mr_mask = (0xffffffff/mr)*mr,
|
mr_mask = -mr,
|
||||||
|
|
||||||
nr = Traits::nr,
|
nr = Traits::nr,
|
||||||
nr_mask = (0xffffffff/nr)*nr
|
nr_mask = -nr
|
||||||
};
|
};
|
||||||
// Increasing k gives us more time to prefetch the content of the "C"
|
// Increasing k gives us more time to prefetch the content of the "C"
|
||||||
// registers. However once the latency is hidden there is no point in
|
// registers. However once the latency is hidden there is no point in
|
||||||
|
Loading…
Reference in New Issue
Block a user