Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
3ad9db2a
Unverified
Commit
3ad9db2a
authored
Oct 07, 2021
by
eqy
Committed by
GitHub
Oct 07, 2021
Browse files
check in (#1187)
parent
5adf7bc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
csrc/layer_norm_cuda_kernel.cu
csrc/layer_norm_cuda_kernel.cu
+2
-0
No files found.
csrc/layer_norm_cuda_kernel.cu
View file @
3ad9db2a
...
@@ -651,6 +651,8 @@ void cuComputeGradInput(
...
@@ -651,6 +651,8 @@ void cuComputeGradInput(
k_grad_input
[
l
]
=
static_cast
<
T
>
(
f_grad_input
);
k_grad_input
[
l
]
=
static_cast
<
T
>
(
f_grad_input
);
}
}
}
}
// prevent race where buf is written again before reads are done
__syncthreads
();
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment