@@ -173,8 +173,8 @@ dequant<half, vllm::kU4B8.id()>(int q) {
173173 const int HI = 0x00f000f0 ;
174174 const int EX = 0x64006400 ;
175175 // Guarantee that the `(a & b) | c` operations are LOP3s.
176- int lo = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, LO, EX);
177- int hi = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, HI, EX);
176+ int lo = lop3< (0xf0 & 0xcc ) | 0xaa > (q, LO, EX);
177+ int hi = lop3< (0xf0 & 0xcc ) | 0xaa > (q, HI, EX);
178178 // We want signed int4 outputs, hence we fuse the `-8` symmetric zero point
179179 // directly into `SUB` and `ADD`.
180180 const int SUB = 0x64086408 ;
@@ -197,9 +197,9 @@ dequant<nv_bfloat16, vllm::kU4B8.id()>(int q) {
197197
198198 // Guarantee that the `(a & b) | c` operations are LOP3s.
199199
200- int lo = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
200+ int lo = lop3< (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
201201 q >>= 4 ;
202- int hi = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
202+ int hi = lop3< (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
203203
204204 typename ScalarType<nv_bfloat16>::FragB frag_b;
205205 static constexpr uint32_t MUL = 0x3F803F80 ;
@@ -221,8 +221,8 @@ dequant<half, vllm::kU4.id()>(int q) {
221221 const int HI = 0x00f000f0 ;
222222 const int EX = 0x64006400 ;
223223 // Guarantee that the `(a & b) | c` operations are LOP3s.
224- int lo = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, LO, EX);
225- int hi = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, HI, EX);
224+ int lo = lop3< (0xf0 & 0xcc ) | 0xaa > (q, LO, EX);
225+ int hi = lop3< (0xf0 & 0xcc ) | 0xaa > (q, HI, EX);
226226
227227 const int SUB = 0x64006400 ;
228228 const int MUL = 0x2c002c00 ;
@@ -244,9 +244,9 @@ dequant<nv_bfloat16, vllm::kU4.id()>(int q) {
244244
245245 // Guarantee that the `(a & b) | c` operations are LOP3s.
246246
247- int lo = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
247+ int lo = lop3< (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
248248 q >>= 4 ;
249- int hi = lop3 < (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
249+ int hi = lop3< (0xf0 & 0xcc ) | 0xaa > (q, MASK, EX);
250250
251251 typename ScalarType<nv_bfloat16>::FragB frag_b;
252252 static constexpr uint32_t MUL = 0x3F803F80 ;
0 commit comments