Skip to content

Commit

Permalink
Merge pull request #6101 from rapidsai/branch-0.15
Browse files Browse the repository at this point in the history
[RELEASE] Re-release v0.15 cudf [skip-ci]
  • Loading branch information
raydouglass authored Aug 27, 2020
2 parents 3a0f214 + fa8e9fb commit f947393
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@
- PR #6032 Change black version to 19.10b0 in .pre-commit-config.yaml
- PR #6041 Fix Java memory resource handler to rethrow original exception object
- PR #6057 Fix issue in parquet reader with reading columns out of file-order
- PR #6098 Patch Thrust to workaround CUDA_CUB_RET_IF_FAIL macro clearing CUDA errors


# cuDF 0.14.0 (03 Jun 2020)

Expand Down
1 change: 1 addition & 0 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/thrust/thrust.git
GIT_TAG 1.9.10
GIT_SHALLOW true
PATCH_COMMAND COMMAND patch -p1 < "${CMAKE_CURRENT_SOURCE_DIR}/thrust-ret-if-fail.patch"
)

FetchContent_GetProperties(thrust)
Expand Down
16 changes: 16 additions & 0 deletions thirdparty/thrust-ret-if-fail.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/thrust/system/cuda/detail/core/util.h b/thrust/system/cuda/detail/core/util.h
index a2c87772..ea4ed640 100644
--- a/thrust/system/cuda/detail/core/util.h
+++ b/thrust/system/cuda/detail/core/util.h
@@ -652,7 +652,10 @@ namespace core {
}

#define CUDA_CUB_RET_IF_FAIL(e) \
- if (cub::Debug((e), __FILE__, __LINE__)) return e;
+ { \
+ auto const error = (e); \
+ if (cub::Debug(error, __FILE__, __LINE__)) return error; \
+ }

// uninitialized
// -------

0 comments on commit f947393

Please sign in to comment.