Skip to content

Commit 15f829a

Browse files
committed
issue/843: add description in kernel again
1 parent f3b50bc commit 15f829a

File tree

1 file changed

+1
-0
lines changed
  • src/infiniop/ops/quant/per_channel_quant_int8/cuda

1 file changed

+1
-0
lines changed

src/infiniop/ops/quant/per_channel_quant_int8/cuda/kernel.cuh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ __device__ inline int round_half_away_from_zero(float x) {
2323
float r = floorf(ax + 0.5f);
2424
return (x >= 0.0f) ? (int)r : -(int)r;
2525
}
26+
2627
/**
2728
* Performs per-channel asymmetric quantization to int8 precision for large matrices.
2829
*

0 commit comments

Comments
 (0)