diff options
Diffstat (limited to 'sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch')
-rw-r--r-- | sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch b/sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch new file mode 100644 index 000000000000..cefad2bad61a --- /dev/null +++ b/sci-libs/rocBLAS/files/rocBLAS-5.4.2-add-missing-header.patch @@ -0,0 +1,14 @@ +Mitigate compilation issue. + +std::bad_alloc is defined in <new> +--- a/clients/include/host_alloc.hpp ++++ b/clients/include/host_alloc.hpp +@@ -22,6 +22,8 @@ + + #pragma once + ++#include <new> ++ + //! + //! @brief Host free memory w/o swap. Returns kB or -1 if unknown. + //! |