Commit Graph

12 Commits

Author SHA1 Message Date
Avinash Kethineedi 7f3879ff31 Refactor RO backend data structures (#49)
- Remove hdp and ipc pointers from BlockHandle, align RO stats with RO contexts

- Add run commands for `rocshmem_g` and `rocshmem_p` API tests in driver.sh

- Allocate rocshmem API return buffers based on number of device contexts.

- Associate status flag address with blocking calls and remove threadId dependency
   - Associated the status flag address with each blocking call request to notify the GPU thread.
   - Removed dependency on threadId for determining the appropriate status flag index.

- Move status flag buffer allocation to backend.

- Initialize allocated memeory to zero

[ROCm/rocshmem commit: df4ad2c04d]
2025-03-14 10:49:44 -05:00
Avinash Kethineedi 1831a1b33c Update(DeviceProxy): Dynamically Determine Memory Allocation Size & Remove Compile-Time size Calculations (#48)
* Update(DeviceProxy): Dynamically Determine Memory Allocation Size & Remove Compile-Time size Calculations

- Modified the Device proxy class to determine memory allocation size at runtime.
- Updated all classes that include the Device proxy to use dynamic memory allocation.
- Removed compile-time memory size calculations.
- Ensured the allocated number of backend queue data structures matches the number of RO device contexts.

[ROCm/rocshmem commit: eb5a38e806]
2025-02-24 15:11:46 -06:00
Yiltan 95c4c0d428 Fix ROCm 6.4 warnings (#47)
* Removed __AMDGCN_WAVEFRONT_SIZE

* Added unit test to validate WF_SIZE

[ROCm/rocshmem commit: 487e5b7d0f]
2025-02-24 13:34:13 -05: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 Hassan Temucin 76981d6374 Fix Team reduction intra-node
[ROCm/rocshmem commit: 022b2c27e7]
2025-02-07 08:39:35 -06:00
Yiltan Hassan Temucin c4f2ccd48f [RO] implemented signaling operations
[ROCm/rocshmem commit: f1c25f7e19]
2025-02-06 10:17:32 -06:00
avinashkethineedi 29b0518afc Rename config.h to roc_shmem_config.h
[ROCm/rocshmem commit: 6486e29078]
2024-12-06 01:08:13 +00:00
Brandon Potter 913ce47ef1 Use new naming scheme
[ROCm/rocshmem commit: fd8dbc7fb6]
2024-11-25 14:25:29 -06:00
avinashkethineedi d71286ace4 Update IPC object
* Update the state of the IPC object in the RO context class with the instance created in the RO backend


[ROCm/rocshmem commit: 862421e0ca]
2024-08-28 12:31:01 -07:00
Brandon Potter 21d8301c83 Move inline asm into separate file
[ROCm/rocshmem commit: 862ef5713f]
2024-07-30 14:53:19 -05:00
Brandon Potter 61140c9a10 Move inline assembly into arch defines blocks
[ROCm/rocshmem commit: 73303ca2d2]
2024-07-30 12:56:32 -05:00
Brandon Potter ad4ab69c19 Transfer files from RAD repository
[ROCm/rocshmem commit: ea8f264a11]
2024-07-01 09:57:08 -05:00