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
bitsandbytes
Commits
5b28fd3f
Unverified
Commit
5b28fd3f
authored
Feb 14, 2024
by
pnunna93
Committed by
GitHub
Feb 14, 2024
Browse files
Fix race condition in kEstimateQuantiles (#1061)
parent
344e8516
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
csrc/kernels.cu
csrc/kernels.cu
+2
-0
No files found.
csrc/kernels.cu
View file @
5b28fd3f
...
...
@@ -654,6 +654,8 @@ __global__ void kEstimateQuantiles(T *__restrict__ const A, float *code, const f
for
(
int
j
=
threadIdx
.
x
;
j
<
BLOCK_ESTIMATE
;
j
+=
blockDim
.
x
)
temp_storage
.
smem_qidx
[
j
]
=
-
1
;
__syncthreads
();
if
(
threadIdx
.
x
<
256
)
{
float
q_interval
=
(
1.0
f
-
(
2.0
f
*
offset
))
/
255.0
f
;
...
...
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