Graf commitů

105 Commity

Autor SHA1 Zpráva Datum
avinashkethineedi 539e991b2a RO Backend: Add support for char, signed char and unsigned char
[ROCm/rocshmem commit: 540cd4b918]
2025-02-12 20:10:03 +00:00
Yiltan 1f3881fa21 Merge pull request #38 from Yiltan/ro/implement-sigops
Implements Signalling Operations for RO

[ROCm/rocshmem commit: 495cd6970b]
2025-02-10 15:10:07 -05:00
Yiltan f64c76b31c Merge pull request #39 from Yiltan/ro/fix-teamreduce
Fix Team reduction intra-node

[ROCm/rocshmem commit: 944444cf12]
2025-02-10 14:56:27 -05:00
Yiltan Hassan Temucin 76981d6374 Fix Team reduction intra-node
[ROCm/rocshmem commit: 022b2c27e7]
2025-02-07 08:39:35 -06:00
Avinash Kethineedi 4d919faf55 Merge pull request #36 from avinashkethineedi/fix/rocshmem-ctx-wg-team-sync
Fix `rocshmem_ctx_wg_team_sync` API

[ROCm/rocshmem commit: d97e5ba2c8]
2025-02-06 13:41:16 -06:00
Yiltan Hassan Temucin c4f2ccd48f [RO] implemented signaling operations
[ROCm/rocshmem commit: f1c25f7e19]
2025-02-06 10:17:32 -06:00
Yiltan Hassan Temucin 90b8f191d6 [RO] added MPI_UNSIGNED_LONG as type
[ROCm/rocshmem commit: 21171deeb8]
2025-02-06 10:17:32 -06:00
avinashkethineedi fca7471d67 Fix rocshmem_ctx_wg_team_sync API
- Updated `rocshmem_ctx_wg_team_sync` to utilize a team-specific memory buffer for synchronization


[ROCm/rocshmem commit: c5b548c398]
2025-02-05 19:09:07 +00:00
avinashkethineedi 71af1b366d Fix rocshmem_ctx_my_pe and rocshmem_ctx_n_pes APIs to return PE numbering and size relative to the team in a team-specific context.
[ROCm/rocshmem commit: e311400d15]
2025-02-05 03:41:40 +00:00
Avinash Kethineedi 2214d21491 Merge pull request #31 from avinashkethineedi/rocshmem_g
Implement `rocshmem_g` API and optimize memory usage

[ROCm/rocshmem commit: 248972b30b]
2025-02-04 11:15:41 -06:00
Yiltan Hassan Temucin ffdce76fe4 [IPC] Fix ROCSHMEM_SIGNAL_ADD
[ROCm/rocshmem commit: fd3eaa3f69]
2025-02-03 09:59:28 -08:00
avinashkethineedi 5af3fdeacb Implement rocshmem_g API and optimize memory usage
- Implement `rocshmem_g` API
- Free up memory space allocated for `rocshmem_g` and atomic operations' return values


[ROCm/rocshmem commit: 757d7e53ca]
2025-02-02 05:56:46 +00:00
avinashkethineedi 15c5ff048c Replace raw pointers for host_interface with shared_ptr to enable automatic memory handling
[ROCm/rocshmem commit: 1ef2d3a6b7]
2025-01-13 20:58:43 +00:00
Yiltan Temucin 3bf7d2eb87 IPC backend now aborts with rocshmem global_exit()
[ROCm/rocshmem commit: c0e4a32ca2]
2024-12-23 11:03:04 -06:00
avinashkethineedi 7a8d464b3c Fix rocshmem_team_split_strided API
[ROCm/rocshmem commit: cb8b9094b4]
2024-12-21 18:16:42 +00:00
Yiltan Temucin 48605db5de Remove comparisons of signed to unsigned values
[ROCm/rocshmem commit: fa0858833e]
2024-12-12 10:21:08 -06:00
Yiltan Temucin 8da69cf1f4 Renamed debug.hpp to rocshmem_debug.hpp
[ROCm/rocshmem commit: 658915ed35]
2024-12-06 15:49:50 -06:00
avinashkethineedi 29b0518afc Rename config.h to roc_shmem_config.h
[ROCm/rocshmem commit: 6486e29078]
2024-12-06 01:08:13 +00:00
avinashkethineedi 04daad3625 Merge branch PR #55 into naming_scheme
[ROCm/rocshmem commit: d8ce066adc]
2024-12-04 21:46:38 +00:00
Brandon Potter 913ce47ef1 Use new naming scheme
[ROCm/rocshmem commit: fd8dbc7fb6]
2024-11-25 14:25:29 -06:00
Yiltan Temucin ba618ba7a9 Added Signalling Operations
[ROCm/rocshmem commit: d8f44e4436]
2024-11-22 15:36:17 -06:00
Yiltan 325d25b570 Merge pull request #51 from Yiltan/roc_shmemx_correction
Removing instances of `roc_shmemx`

[ROCm/rocshmem commit: a59e946e44]
2024-11-19 13:28:05 -05:00
Avinash Kethineedi 3c3eee3a11 Merge pull request #52 from avinashkethineedi/IPC_puts/gets
Update puts and gets with fence call

[ROCm/rocshmem commit: 2cb5cab038]
2024-11-14 13:19:24 -06:00
avinashkethineedi 929c79cdc0 Update puts and gets to include a fence following data movement, ensuring data visibility
[ROCm/rocshmem commit: d1ee997542]
2024-11-12 16:52:07 +00:00
Yiltan Temucin 40e28826c9 converted roc_shmemx to roc_shmem
[ROCm/rocshmem commit: c2b736ef3d]
2024-11-12 08:37:56 -06:00
avinashkethineedi e4e18e31bb Update collective APIs to use teams interface
* Use team-relative numbering in collective functions
* Replace log_stride with stride


[ROCm/rocshmem commit: 5e3d94c705]
2024-11-06 17:50:23 +00:00
Yiltan Hassan Temucin 7f3dd33144 modified team based to_all -> reduce
[ROCm/rocshmem commit: 997eb69b5a]
2024-11-06 09:46:43 -06:00
avinashkethineedi 832dda25e6 Merge branch 'ROCm:develop' into active_set_APIs
[ROCm/rocshmem commit: b2b0d559cb]
2024-11-05 23:02:44 +00:00
Yiltan Hassan Temucin 9ae2320ac3 remove cooperative groups
[ROCm/rocshmem commit: fe767d9abf]
2024-10-30 20:10:21 +00:00
avinashkethineedi b1a52b906b Update broadcast function to use stride calculations instead of log_stride
[ROCm/rocshmem commit: 5975b8c621]
2024-10-29 19:10:05 +00:00
avinashkethineedi 058aa3ccf3 Remove device-side active-set-based broadcast API interface from rocSHMEM
[ROCm/rocshmem commit: e1ff06913c]
2024-10-29 19:04:49 +00:00
avinashkethineedi 5869709dac Update all_reduce algorithm to use internal put/get functions for updating pWrk and pSync arrays
* Change log_stride calcualtions to stride calculations
* Update all_reduce example code to use team based interface


[ROCm/rocshmem commit: abec29bd6a]
2024-10-28 22:10:18 +00:00
avinashkethineedi 9f9ecd9a38 Remove the device-side active-set-based reduction API interface from rocSHMEM
[ROCm/rocshmem commit: c22048112e]
2024-10-28 21:35:14 +00:00
Yiltan bd3a07d28b Merge pull request #43 from ROCm/LWPRHMEM-75-API-differences-bug-fix
Lwprhmem 75 api differences bug fix

[ROCm/rocshmem commit: 794b888d69]
2024-10-28 15:45:15 -04:00
Yiltan Temucin bc315d1c8b API bug fix in IB conduit
[ROCm/rocshmem commit: 98afb41263]
2024-10-24 11:52:03 -05:00
Yiltan Temucin 2da1f4e925 API change bug fix
[ROCm/rocshmem commit: e210020e9b]
2024-10-24 11:52:03 -05:00
Edgar Gabriel 95c01c67af add ascii art for ring allredude
[ROCm/rocshmem commit: 11df5427a6]
2024-10-24 15:08:32 +00:00
Edgar Gabriel 2836240906 fix odd-case allreduce scenarios
if the number of elements to be used in the allreduce operation is not
exact multiple of the work-array buffer size and number of pe's, we need
to adjust the algorithm to:
 - initially perform a ring_allreduce on n_segments * chunk_size (which
   is the integer division of the number of elements and the work-buffer
   size, i.e. will not cover the entire buffer)
 - perform another ring_allreduce where chunk_size is reduced to match
   the remaining elements
 - if the remaining elements from the previous step cannot evenly be
   divded by the number of pe's, we need to perform a direct_allreduce on
   the outstanding number of elements.


[ROCm/rocshmem commit: a4b4281f50]
2024-10-24 15:08:32 +00:00
Edgar Gabriel 7b760bb023 fix barrier synchronization on gfx90a
[ROCm/rocshmem commit: 87db7f7d38]
2024-10-24 15:08:28 +00:00
Edgar Gabriel c9b5f03548 ipc: add ring_allreduce algorithms
add the ring allreduce algorithm to the ipc conduit in order to be able
to execute slightly largers reductions.


[ROCm/rocshmem commit: 1fbb89bc73]
2024-10-24 15:07:17 +00:00
Edgar Gabriel 5f0f2f6e85 ipc/to_all: add direct allreduce algorithm
add a simple version of an allreduce algorithm as a starting point.


[ROCm/rocshmem commit: ba21cb7b85]
2024-10-24 15:07:14 +00:00
Avinash Kethineedi 6979677ec5 Merge pull request #41 from avinashkethineedi/collective_routine_buffers
Fine grained memory buffers for work/sync arrays

[ROCm/rocshmem commit: 8a16968cf2]
2024-10-23 23:33:48 -05:00
avinashkethineedi 82d296db73 Fix quiet and fence of default context
* Update tinfo of default context


[ROCm/rocshmem commit: d5ea5868e3]
2024-10-22 16:18:05 +00:00
avinashkethineedi fbcba80cd3 Add fine grained memory buffers for work/sync arrays
* Add interanl put_mem/get_mem{_wave, _wg} functions to read/write to work/sync arrays
* Add condition check to ensure all MPI processes are on the same compute node for IPC conduit


[ROCm/rocshmem commit: 6685d0ab60]
2024-10-21 15:28:39 +00:00
Yiltan Hassan Temucin 31fe937259 updated atomic_fetch() parameters
[ROCm/rocshmem commit: 8b3854b252]
2024-10-11 13:34:28 -07:00
Yiltan Hassan Temucin 3d0fca0387 updated *_wait* APIs to use int rather than roc_shmem_cmps
[ROCm/rocshmem commit: 722a5f0731]
2024-10-11 13:34:28 -07:00
Yiltan Hassan Temucin 496f06dd2b *_wait* routines changed parameter from ptr to ivars to match OpenSHMEM
[ROCm/rocshmem commit: bcf3fdff10]
2024-10-11 13:34:28 -07:00
Brandon Potter 5b47cf482d Merge pull request #29 from ROCm/improve-ib-latency
Vectorize WQE segments writes

[ROCm/rocshmem commit: e419a8b963]
2024-10-11 11:55:48 -05:00
Yiltan Hassan Temucin 17323323f8 fixed notifier bug
[ROCm/rocshmem commit: 509277c034]
2024-10-10 06:45:43 -07:00
Yiltan Hassan Temucin 8334214b98 added notifier->sync() when we are not using cooperative groups
updated scope bug


[ROCm/rocshmem commit: b1134e8633]
2024-10-09 13:11:28 -07:00