Sync Reverse Offload Scripts (#52)

* Sync Reverse Offload scripts
- Disable IPC unit tests when IPC is not available in the rocSHMEM configuration

* Added missing ptr in ipc_policy

[ROCm/rocshmem commit: 3428957de9]
This commit is contained in:
Yiltan
2025-03-19 14:31:07 -04:00
zatwierdzone przez GitHub
rodzic c4b81768df
commit 6d6dccfebe
5 zmienionych plików z 23 dodań i 9 usunięć
@@ -23,8 +23,9 @@ cmake \
-DUSE_COHERENT_HEAP=ON \
-DUSE_THREADS=OFF \
-DUSE_WF_COAL=OFF \
-DUSE_SINGLE_NODE=ON \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
-DUSE_MANAGED_HEAP=OFF \
-DUSE_RO=ON \
$src_path
cmake --build . --parallel 8
cmake --install .
@@ -19,12 +19,13 @@ cmake \
-DPROFILE=OFF \
-DUSE_GPU_IB=OFF \
-DUSE_DC=OFF \
-DUSE_IPC=OFF \
-DUSE_COHERENT_HEAP=ON \
-DUSE_THREADS=OFF \
-DUSE_WF_COAL=OFF \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
-DUSE_MANAGED_HEAP=OFF \
-DUSE_RO=ON \
-DUSE_IPC=ON \
-DUSE_THREADS=ON \
-DUSE_WF_COAL=OFF \
$src_path
cmake --build . --parallel 8
cmake --install .
@@ -20,9 +20,12 @@ cmake \
-DUSE_GPU_IB=OFF \
-DUSE_DC=OFF \
-DUSE_IPC=OFF \
-DUSE_THREADS=ON \
-DUSE_COHERENT_HEAP=ON \
-DUSE_THREADS=OFF \
-DUSE_WF_COAL=OFF \
-DUSE_COHERENT_HEAP=OFF \
-DUSE_HOST_SIDE_HDP_FLUSH=OFF\
-DUSE_MANAGED_HEAP=OFF \
-DUSE_RO=ON \
$src_path
cmake --build . --parallel 8
cmake --install .
@@ -125,6 +125,8 @@ class IpcOffImpl {
char **ipc_bases{nullptr};
int *pes_with_ipc_avail{nullptr};
__host__ void ipcHostInit(int my_pe, const HEAP_BASES_T &heap_bases,
MPI_Comm thread_comm) {}
@@ -91,12 +91,19 @@ target_sources(
#forward_list_gtest.cpp
free_list_gtest.cpp
#context_ipc_gtest.cpp
ipc_impl_simple_coarse_gtest.cpp
ipc_impl_simple_fine_gtest.cpp
ipc_impl_tiled_fine_gtest.cpp
wavefront_size_gtest.cpp
)
if (USE_IPC)
target_sources(
${PROJECT_NAME}
PRIVATE
ipc_impl_simple_coarse_gtest.cpp
ipc_impl_simple_fine_gtest.cpp
ipc_impl_tiled_fine_gtest.cpp
)
endif()
###############################################################################
# ROCSHMEM DEPENDENCY
###############################################################################