summaryrefslogtreecommitdiff
path: root/dev-util/hip/files/hip-4.3.0-hip_vector_types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/hip/files/hip-4.3.0-hip_vector_types.patch')
-rw-r--r--dev-util/hip/files/hip-4.3.0-hip_vector_types.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/hip/files/hip-4.3.0-hip_vector_types.patch b/dev-util/hip/files/hip-4.3.0-hip_vector_types.patch
new file mode 100644
index 000000000000..faad9629740f
--- /dev/null
+++ b/dev-util/hip/files/hip-4.3.0-hip_vector_types.patch
@@ -0,0 +1,11 @@
+mitigate compilation error
+--- a/include/hip/amd_detail/hip_vector_types.h
++++ b/include/hip/amd_detail/hip_vector_types.h
+@@ -45,6 +45,7 @@ THE SOFTWARE.
+
+ #if defined(__cplusplus)
+ #if !defined(__HIPCC_RTC__)
++ #include <new>
+ #include <array>
+ #include <iosfwd>
+ #include <type_traits>