Skip to content

Commit

Permalink
Merge pull request #8 from FritzMichael/main
Browse files Browse the repository at this point in the history
Fix minor typo in readme
  • Loading branch information
stijnh authored Sep 17, 2024
2 parents 5208898 + 6a31d4b commit 07cedcc
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 07cedcc

Please sign in to comment.