Swdev/536571 with additional issues found for other various missing includes (#158)

* Revert "SWDEV-536571 - Include assert header. (#157)"

This reverts commit 87d2efa430.

* Fix use of assert/abort and required includes

* Disable IPC AMO testers for non-implemented functions

[ROCm/rocshmem commit: 551603829c]
This commit is contained in:
Aurelien Bouteiller
2025-06-16 20:21:06 -04:00
committed by GitHub
parent b5c685ef9d
commit 56a3181a6f
34 changed files with 149 additions and 80 deletions
@@ -31,14 +31,14 @@
* @brief Contains HIP wrapper class for memory allocator
*/
#include "rocshmem_config.h" // NOLINT(build/include_subdir)
#include "memory_allocator.hpp"
#include <hip/hip_runtime_api.h>
#include <cstdlib>
#include <limits>
#include "rocshmem_config.h" // NOLINT(build/include_subdir)
#include "memory_allocator.hpp"
// `hipDeviceMallocUncached` was introduced at ROCm 5.5
#if (HIP_VERSION_MAJOR > 5) || \
(HIP_VERSION_MAJOR == 5 && HIP_VERSION_MINOR >= 5)
+1 -1
View File
@@ -57,7 +57,7 @@ class Notifier {
return;
}
if constexpr (scope == detail::atomic::memory_scope_system) {
assert(false);
static_assert(false);
return;
}
@@ -28,7 +28,6 @@
#include <hip/hip_runtime_api.h>
#include <mpi.h>
#include <cassert>
#include <vector>
#include "hip_allocator.hpp"