We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5208898 + 6a31d4b commit 07cedccCopy full SHA for 07cedcc
README.md
@@ -69,7 +69,7 @@ Here is how the same kernel would like without Kernel Float.
69
__global__ void kernel(const __half* input, float constant, float* output) {
70
int i = blockIdx.x * blockDim.x + threadIdx.x;
71
__half in0 = input[2 * i + 0];
72
- __half in1 = input[2 * 1 + 1];
+ __half in1 = input[2 * i + 1];
73
__half2 a = __halves2half2(in0, int1);
74
float b = float(constant);
75
__half c = __float2half(b);
0 commit comments