summaryrefslogtreecommitdiff
path: root/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch')
-rw-r--r--sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch b/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch
new file mode 100644
index 000000000000..a923a016f96c
--- /dev/null
+++ b/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch
@@ -0,0 +1,13 @@
+https://github.com/ROCmSoftwarePlatform/rocThrust/issues/180
+
+--- orig/thrust/system/hip/detail/guarded_driver_types.h
++++ rocThrust-rocm-4.3.0/thrust/system/hip/detail/guarded_driver_types.h
+@@ -47,7 +47,7 @@
+ # endif // __DRIVER_TYPES_H__
+ #endif // __GNUC__
+
+-#include <hip/hcc_detail/host_defines.h>
++#include <hip/amd_detail/host_defines.h>
+
+ #if !defined(__GNUC__) || ((10000 * __GNUC__ + 100 * __GNUC_MINOR__ + __GNUC_PATCHLEVEL__) >= 40500)
+ # ifdef THRUST_HOST_NEEDS_RESTORATION