From 6a31d4befc1e19f9bd4d6574c24b70e5cca622c8 Mon Sep 17 00:00:00 2001 From: Michael Fritzenwallner Date: Mon, 16 Sep 2024 10:40:05 +0200 Subject: [PATCH] minor typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed9e5ec..0670187 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Here is how the same kernel would like without Kernel Float. __global__ void kernel(const __half* input, float constant, float* output) { int i = blockIdx.x * blockDim.x + threadIdx.x; __half in0 = input[2 * i + 0]; - __half in1 = input[2 * 1 + 1]; + __half in1 = input[2 * i + 1]; __half2 a = __halves2half2(in0, int1); float b = float(constant); __half c = __float2half(b);