mv ipc_policy.{hpp,cpp} into a separate folder as a start for the
standalone IPC conduit.

Unit tests and functional tests pass on the developmpent system.


[ROCm/rocshmem commit: 1183006e20]
Этот коммит содержится в:
Edgar Gabriel
2024-07-25 07:33:41 -07:00
родитель 51c6d1fd7f
Коммит edf3f98d66
8 изменённых файлов: 40 добавлений и 10 удалений
+1 -1
Просмотреть файл
@@ -30,7 +30,6 @@ target_sources(
backend_bc.cpp
context_host.cpp
context_device.cpp
ipc_policy.cpp
mpi_init_singleton.cpp
roc_shmem_gpu.cpp
roc_shmem.cpp
@@ -67,3 +66,4 @@ add_subdirectory(containers)
add_subdirectory(host)
add_subdirectory(memory)
add_subdirectory(sync)
add_subdirectory(ipc)
+1 -1
Просмотреть файл
@@ -38,7 +38,7 @@
#include "config.h" // NOLINT(build/include_subdir)
#include "roc_shmem/roc_shmem.hpp"
#include "backend_type.hpp"
#include "ipc_policy.hpp"
#include "ipc/ipc_policy.hpp"
#include "memory/symmetric_heap.hpp"
#include "stats.hpp"
#include "team_tracker.hpp"
+1 -1
Просмотреть файл
@@ -28,7 +28,7 @@
#include "backend_type.hpp"
#include "fence_policy.hpp"
#include "host/host.hpp"
#include "ipc_policy.hpp"
#include "ipc/ipc_policy.hpp"
#include "stats.hpp"
#include "sync/spin_ebo_block_mutex.hpp"
#include "wf_coal_policy.hpp"
+30
Просмотреть файл
@@ -0,0 +1,30 @@
###############################################################################
# Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
###############################################################################
###############################################################################
# ADD ROCSHMEM TARGET FOR FILES IN CURRENT DIRECTORY
###############################################################################
target_sources(
${PROJECT_NAME}
PRIVATE
ipc_policy.cpp
)
+3 -3
Просмотреть файл
@@ -25,9 +25,9 @@
#include <mpi.h>
#include "config.h" // NOLINT(build/include_subdir)
#include "backend_bc.hpp"
#include "context_incl.hpp"
#include "util.hpp"
#include "../backend_bc.hpp"
#include "../context_incl.hpp"
#include "../util.hpp"
namespace rocshmem {
+2 -2
Просмотреть файл
@@ -30,8 +30,8 @@
#include <vector>
#include "config.h" // NOLINT(build/include_subdir)
#include "memory/hip_allocator.hpp"
#include "util.hpp"
#include "../memory/hip_allocator.hpp"
#include "../util.hpp"
namespace rocshmem {
+1 -1
Просмотреть файл
@@ -24,7 +24,7 @@
#define LIBRARY_SRC_REVERSE_OFFLOAD_BLOCK_HANDLE_HPP_
#include "../hdp_policy.hpp"
#include "../ipc_policy.hpp"
#include "../ipc/ipc_policy.hpp"
#include "profiler.hpp"
#include "queue.hpp"
+1 -1
Просмотреть файл
@@ -28,7 +28,7 @@
#include "../atomic_return.hpp"
#include "../device_proxy.hpp"
#include "../hdp_policy.hpp"
#include "../ipc_policy.hpp"
#include "../ipc/ipc_policy.hpp"
#include "commands_types.hpp"
#include "profiler.hpp"
#include "../sync/abql_block_mutex.hpp"