mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-29 04:44:34 +00:00
cuda : minor indentation
This commit is contained in:
parent
8d8d54f834
commit
84d4ca0e47
@ -4345,13 +4345,13 @@ static __global__ void mul_mat_vec_nc_f16_f32( // nc == non-contiguous
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
const int ix = channel_x*channel_stride_x + row_x*row_stride_x + col_x;
|
|
||||||
const float xi = __half2float(x[ix]);
|
|
||||||
|
|
||||||
const int row_y = col_x;
|
const int row_y = col_x;
|
||||||
|
|
||||||
|
const int ix = channel_x*channel_stride_x + row_x*row_stride_x + col_x;
|
||||||
const int iy = channel*nrows_y + row_y;
|
const int iy = channel*nrows_y + row_y;
|
||||||
|
|
||||||
|
const float xi = __half2float(x[ix]);
|
||||||
|
|
||||||
tmp += xi * y[iy];
|
tmp += xi * y[iy];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user