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]
Esse commit está contido em:
Yiltan
2025-03-19 14:31:07 -04:00
commit de GitHub
commit 6d6dccfebe
5 arquivos alterados com 23 adições e 9 exclusões
+2 -1
Ver Arquivo
@@ -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 .
+4 -3
Ver Arquivo
@@ -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 .
+2
Ver Arquivo
@@ -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
###############################################################################