This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1878 from senior-zero/bump_cub_2.1.x
Bump CUB
- Loading branch information
Showing
16 changed files
with
73 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
discrete_voronoi.pgm | ||
*build*/ | ||
.idea/ | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ SDK_TYPE: | |
- cuda | ||
|
||
SDK_VER: | ||
- 11.5.2-devel | ||
- 11.7.0-devel | ||
|
||
OS_TYPE: | ||
- ubuntu | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ SDK_TYPE: | |
- cuda | ||
|
||
SDK_VER: | ||
- 11.5.2-devel | ||
- 11.7.0-devel | ||
|
||
OS_TYPE: | ||
- ubuntu | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cub
updated
8 files
+4 −0 | cmake/CubHeaderTesting.cmake | |
+10 −11 | cub/util_type.cuh | |
+4 −0 | examples/CMakeLists.txt | |
+16 −0 | test/CMakeLists.txt | |
+1 −2 | test/test_device_histogram.cu | |
+6 −6 | test/test_device_radix_sort.cu | |
+2 −4 | test/test_device_reduce.cu | |
+2 −4 | test/test_device_segmented_sort.cu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#pragma once | ||
|
||
#if defined(__NVCC__) && defined(__clang__) && __CUDACC_VER_MAJOR__ == 11 && \ | ||
__CUDACC_VER_MINOR__ <= 5 | ||
|
||
#if defined(__NVCC_DIAG_PRAGMA_SUPPORT__) | ||
# pragma nv_diag_suppress 3171 | ||
#else | ||
# pragma diag_suppress 3171 | ||
#endif | ||
|
||
#pragma clang diagnostic push | ||
#pragma clang diagnostic ignored "-Wkeyword-compat" | ||
|
||
// Clang has a builtin called `__is_signed`. Unfortunately, libstdc++ headers | ||
// use this name as an identifier. Clang has a workaround for that, it checks | ||
// if `__is_signed` is `const static bool` as in libstdc++ headers and if so, | ||
// disables the intrinsic for the rest of the TU: | ||
// https://github.com/llvm/llvm-project/blob/f49b6afc231242dfee027d5da69734836097cd43/clang/lib/Parse/ParseDecl.cpp#L3552-L3566 | ||
const static bool __is_signed = false; | ||
|
||
#pragma clang diagnostic pop | ||
#endif // defined(__NVCC__) && defined(__clang__) && __CUDACC_VER_MAJOR__ == 11 && | ||
// __CUDACC_VER_MINOR__ <= 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters