From 0ecdf8568238fec10a3023357cb2bb9402a387b7 Mon Sep 17 00:00:00 2001 From: Prasanth Nunna Date: Tue, 7 May 2024 21:39:16 +0000 Subject: [PATCH] Fix lint errors --- csrc/kernels.hip | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csrc/kernels.hip b/csrc/kernels.hip index ef9627b4a..9792305d4 100644 --- a/csrc/kernels.hip +++ b/csrc/kernels.hip @@ -2299,16 +2299,16 @@ template __global__ void kd rowStat[j] = row_idx >= numRows ? 0.0f : rowStats[row_idx]; } __syncthreads(); - + // load data int valid_items = block_offset + THREADS * ITEMS_PER_THREAD < n_out ? THREADS * ITEMS_PER_THREAD : n_out - block_offset; LoadInt32(loadint32).Load(&(A[block_offset]), local_values, valid_items, 0); - + // dequantize data #pragma unroll ITEMS_PER_THREAD for(int j = 0; j < ITEMS_PER_THREAD; j++) local_output[j] = __float2half((local_values[j]*MM_DEQUANT_CONST*rowStat[j]*colStat[j]) + local_biasValue[j]); - + // store data #pragma unroll ITEMS_PER_THREAD for(int j = 0; j < ITEMS_PER_THREAD; j++)