Fixed compilation error triggered by nvcc

This commit is contained in:
Benoit Steiner 2015-11-19 14:34:26 -08:00
parent 04f1284f9a
commit f37a5f1c53

View File

@ -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;