Skip to content

Commit 07cedcc

Browse files
authored
Merge pull request #8 from FritzMichael/main
Fix minor typo in readme
2 parents 5208898 + 6a31d4b commit 07cedcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Here is how the same kernel would like without Kernel Float.
6969
__global__ void kernel(const __half* input, float constant, float* output) {
7070
int i = blockIdx.x * blockDim.x + threadIdx.x;
7171
__half in0 = input[2 * i + 0];
72-
__half in1 = input[2 * 1 + 1];
72+
__half in1 = input[2 * i + 1];
7373
__half2 a = __halves2half2(in0, int1);
7474
float b = float(constant);
7575
__half c = __float2half(b);

0 commit comments

Comments
 (0)