Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 36d13af

Browse files
committed
Fix for bug in cub::DeviceReduce where reductions of small problems
(small enough to only dispatch a single threadblock) would run in the default stream (stream zero) regardless of whether an alternate stream was specified Former-commit-id: a615c0f
1 parent 1283fc3 commit 36d13af

File tree

278 files changed

+325
-284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+325
-284
lines changed

CHANGE_LOG.TXT

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
//-----------------------------------------------------------------------------
22

3+
1.3.2 07/28/2014
4+
- Bug fixes:
5+
- Fix for cub::DeviceReduce where reductions of small problems
6+
(small enough to only dispatch a single threadblock) would run in
7+
the default stream (stream zero) regardless of whether an alternate
8+
stream was specified.
9+
10+
//-----------------------------------------------------------------------------
11+
312
1.3.1 05/23/2014
413
- Bug fixes:
514
- Workaround for a benign WAW race warning reported by cuda-memcheck

README.md

Lines changed: 2 additions & 2 deletions

cub/device/dispatch/device_reduce_dispatch.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ struct DeviceReduceDispatch
543543
single_tile_config.block_threads, (long long) stream, single_tile_config.items_per_thread);
544544

545545
// Invoke single_kernel
546-
single_kernel<<<1, single_tile_config.block_threads>>>(
546+
single_kernel<<<1, single_tile_config.block_threads, 0, stream>>>(
547547
d_in,
548548
d_out,
549549
num_items,

docs/download_cub.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
</head>
3838

3939
<body
40-
onload="downloadURL('https://github.com/NVlabs/cub/archive/1.3.1.zip');"
40+
onload="downloadURL('https://github.com/NVlabs/cub/archive/1.3.2.zip');"
4141
style="color: rgb(102, 102, 102); font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 300; height: 18px;">
4242

4343
<center>
4444
If your download doesn't start in 3s:
4545
<br><br>
46-
<a href="https://github.com/NVlabs/cub/archive/1.3.1.zip"><img src="download-icon.png" style="position:relative; bottom:-10px; border:0px;"/></a>
47-
<a href="https://github.com/NVlabs/cub/archive/1.3.1.zip"><em>Download CUB!</em></a>
46+
<a href="https://github.com/NVlabs/cub/archive/1.3.2.zip"><img src="download-icon.png" style="position:relative; bottom:-10px; border:0px;"/></a>
47+
<a href="https://github.com/NVlabs/cub/archive/1.3.2.zip"><em>Download CUB!</em></a>
4848
</center>
4949

5050
</body>

docs/html/CHANGE_LOG.TXT

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
//-----------------------------------------------------------------------------
22

3+
1.3.2 07/28/2014
4+
- Bug fixes:
5+
- Fix for cub::DeviceReduce where reductions of small problems
6+
(small enough to only dispatch a single threadblock) would run in
7+
the default stream (stream zero) regardless of whether an alternate
8+
stream was specified.
9+
10+
//-----------------------------------------------------------------------------
11+
312
1.3.1 05/23/2014
413
- Bug fixes:
514
- Workaround for a benign WAW race warning reported by cuda-memcheck

docs/html/annotated.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
<!-- HTML footer for doxygen 1.8.3.1-->
229229
<!-- start footer part -->
230230
<hr class="footer"/><address class="footer"><small>
231-
Generated on Fri May 23 2014 07:20:16 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
231+
Generated on Mon Jul 28 2014 22:37:05 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
232232
<img class="footer" src="doxygen.png" alt="doxygen"/>
233233
</a> 1.8.4
234234
<br>

docs/html/arg__index__input__iterator_8cuh.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
<!-- HTML footer for doxygen 1.8.3.1-->
135135
<!-- start footer part -->
136136
<hr class="footer"/><address class="footer"><small>
137-
Generated on Fri May 23 2014 07:20:13 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
137+
Generated on Mon Jul 28 2014 22:37:02 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
138138
<img class="footer" src="doxygen.png" alt="doxygen"/>
139139
</a> 1.8.4
140140
<br>

docs/html/arg__index__input__iterator_8cuh_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
<!-- HTML footer for doxygen 1.8.3.1-->
289289
<!-- start footer part -->
290290
<hr class="footer"/><address class="footer"><small>
291-
Generated on Fri May 23 2014 07:20:13 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
291+
Generated on Mon Jul 28 2014 22:37:02 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
292292
<img class="footer" src="doxygen.png" alt="doxygen"/>
293293
</a> 1.8.4
294294
<br>

docs/html/block__discontinuity_8cuh.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
<!-- HTML footer for doxygen 1.8.3.1-->
139139
<!-- start footer part -->
140140
<hr class="footer"/><address class="footer"><small>
141-
Generated on Fri May 23 2014 07:20:13 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
141+
Generated on Mon Jul 28 2014 22:37:02 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
142142
<img class="footer" src="doxygen.png" alt="doxygen"/>
143143
</a> 1.8.4
144144
<br>

docs/html/block__discontinuity_8cuh_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
<!-- HTML footer for doxygen 1.8.3.1-->
397397
<!-- start footer part -->
398398
<hr class="footer"/><address class="footer"><small>
399-
Generated on Fri May 23 2014 07:20:13 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
399+
Generated on Mon Jul 28 2014 22:37:02 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
400400
<img class="footer" src="doxygen.png" alt="doxygen"/>
401401
</a> 1.8.4
402402
<br>

0 commit comments

Comments
 (0)