Skip to content

Commit

Permalink
minor typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FritzMichael authored Sep 16, 2024
1 parent 5208898 commit 6a31d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a31d4b

Please sign in to comment.