There was an error while loading. Please reload this page.
1 parent b4f67bd commit 834799bCopy full SHA for 834799b
1 file changed
relu/relu_cuda/relu.cu
@@ -10,6 +10,7 @@ __global__ void relu_kernel(float *__restrict__ out,
10
for (int64_t idx = threadIdx.x; idx < d; idx += blockDim.x) {
11
auto x = input[token_idx * d + idx];
12
out[token_idx * d + idx] = x > 0.0f ? x : 0.0f;
13
+ out[token_idx * d + idx] += 0.1f; // test change
14
}
15
16
0 commit comments