mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 01:43:13 +08:00
Fixed compilation error triggered by nvcc
This commit is contained in:
parent
04f1284f9a
commit
f37a5f1c53
@ -130,8 +130,8 @@ static TensorUInt128<uint64_t, uint64_t> operator * (const TensorUInt128<HL, LL>
|
|||||||
// de
|
// de
|
||||||
// The result is stored in 2 64bit integers, high and low.
|
// The result is stored in 2 64bit integers, high and low.
|
||||||
|
|
||||||
static const uint64_t LOW = 0x00000000FFFFFFFFLL;
|
const uint64_t LOW = 0x00000000FFFFFFFFLL;
|
||||||
static const uint64_t HIGH = 0xFFFFFFFF00000000LL;
|
const uint64_t HIGH = 0xFFFFFFFF00000000LL;
|
||||||
|
|
||||||
uint64_t d = lhs.low & LOW;
|
uint64_t d = lhs.low & LOW;
|
||||||
uint64_t c = (lhs.low & HIGH) >> 32LL;
|
uint64_t c = (lhs.low & HIGH) >> 32LL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user