Commit Graph

35 Commits

Author SHA1 Message Date
avinashkethineedi 7bbf34d334 remove local_pe calculation from puts, gets and atomics functions
* All the PEs are assumed to be accessible using IPC backend
2024-09-05 11:52:00 -07:00
avinashkethineedi e1e1ac6df6 Add atomics
* Add atomic_add, atomic_set, atomic_cas, atomic_fetch_add and atomic_fetch_cas to IPC backend
2024-08-28 08:30:46 -07:00
avinashkethineedi 45a8cb3354 Update IPC object
* Update the IPC object in the context class with the instance created in the IPC backend
2024-08-28 08:14:38 -07:00
avinashkethineedi a9571ec002 Add buffers required for collectives 2024-08-22 09:28:09 -07:00
avinashkethineedi a59bdd4f6b Add IPC teams 2024-08-22 09:15:44 -07:00
avinashkethineedi c8b0f2378e Add gets and puts functionality to IPC context 2024-08-15 13:17:44 -07:00
avinashkethineedi c9dbcf80c2 Update context_ipc_gtest.cpp to use IPCbackend 2024-08-15 11:54:56 -07:00
avinashkethineedi b68867ee17 remove ipc_policy.{hpp & cpp} and context_ipc.{hpp & cpp}
* move ipc_policy.{hpp & cpp} to src
* rename context_ipc.{hpp & cpp} to context_ipc_device.{hpp & cpp}
2024-08-15 08:52:06 -07:00
avinashkethineedi 49779863c2 Add IPC backend
* add backend_ipc.{cpp & hpp}
* rename context_ipc.{cpp & hpp} to context_ipc_device.{cpp & hpp}
* add host interface to IPC backend
* add context_ipc_host.{cpp & hpp} to support host interface
* add USE_RO compile flag to enable support for single backend interface at a time
* add ipc_single script to build rocSHMEM with IPC backend
2024-08-14 22:59:02 -07:00
avinashkethineedi 24375a949e Code refactor
move ipc_policy.hpp and ipc_policy.cpp files to src, since they are used by all the conduits.
2024-08-14 20:44:35 -07:00
Avinash Kethineedi 733cb09e2a Merge pull request #16 from BKP/ipc_bringup_coarse_unit_08-07-24
Create unit tests for simple buffer transfers using coarse-grained memory
2024-08-07 15:05:30 -05:00
Brandon Potter 58c5a98b5d Add ipc unit_tests 2024-08-07 12:18:12 -07:00
Brandon Potter c865fcd4bb Fix memcpy_wave bug 2024-08-07 11:37:45 -07:00
Edgar Gabriel d21d5aa431 Merge pull request #10 from edgargabriel/topic/ipc-context
topic/ipc context
2024-07-31 11:25:56 -05:00
Edgar Gabriel b1bc4a497a unit_tests: add ipc_context tests
add the initial outline of an ipc_context unit test. The current test
only invokes the ipc_context constructor, more tests will be added later
as the class is being populated.

Also, at the moment the unit test takes an ROBackend as an argument for
the constructor, not sure whether this will be the final solution.
2024-07-30 15:22:03 -07:00
Edgar Gabriel de750ddacc src/ipc: add context_ipc barebone code 2024-07-26 08:22:33 -07:00
Edgar Gabriel 6990f301b1 Merge pull request #9 from edgargabriel/topic/ipc-directory-reorg
src/ipc: IPC folder refactor
2024-07-25 09:53:39 -05:00
Edgar Gabriel 1183006e20 src/ipc: IPC folder refactor
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.
2024-07-25 07:33:41 -07:00
Edgar Gabriel a3c338c310 Merge pull request #7 from BKP/ft_07-12-24
Update functional test driver.sh script
2024-07-15 15:40:21 -05:00
Avinash Kethineedi ac3f87936f Merge pull request #5 from BKP/ut_07-11-24
Unit test fixes
2024-07-14 23:31:43 -05:00
Brandon Potter 06e51a8132 Update functional_tests driver.sh script 2024-07-12 15:08:46 -07:00
Edgar Gabriel 52b7a57506 Merge pull request #6 from BKP/warnings_07-11-24
Silence variable array warnings
2024-07-12 07:12:14 -05:00
Brandon Potter 719ee21da7 Silence variable array warnings 2024-07-11 13:50:11 -07:00
Edgar Gabriel d054fc66ea Merge pull request #4 from BKP/hyd-7c_07-11-24
hyd-7c
2024-07-11 13:03:42 -05:00
Brandon Potter afd51b3cbb Disable forward_list unit_test 2024-07-11 10:22:36 -07:00
Brandon Potter 770890a107 Remove SpinEBOBlockMutex usage and unit tests 2024-07-11 10:12:19 -07:00
Brandon Potter 3aaf29399c Disable unit_test for slab allocator 2024-07-11 08:49:36 -07:00
Brandon Potter 646a59f381 Remove slab allocator from backend class 2024-07-11 08:48:18 -07:00
Brandon Potter ffc7aa468d Setup ro_net_debug config for hyd-7c machine 2024-07-11 08:44:03 -07:00
Brandon Potter 8b14d9f07d Set MPI threading mode for hyd-7c machine 2024-07-11 08:43:01 -07:00
Edgar Gabriel a9f2eff207 Merge pull request #1 from edgargabriel/topic/hip-warning-silencing
silence warnings in functional testsuite
2024-07-09 08:30:55 -05:00
Edgar Gabriel 7e7bc4b0a9 silence warnings in functional testsuite
check the return code of hip functions in order to silence some
warnings.
2024-07-02 10:07:43 -07:00
Brandon Potter d4bb03503e Remove deprecated func call support 2024-07-01 16:04:20 -05:00
Brandon Potter ea8f264a11 Transfer files from RAD repository 2024-07-01 09:57:08 -05:00
Edgar Gabriel a30da178c1 Initial commit 2024-06-10 13:26:58 -05:00