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]
Цей коміт міститься в:
Avinash Kethineedi authored and GitHub committed 2025-02-24 15:11:46 -06:00
1 джерело 95c4c0d428
коміт 1831a1b33c
23 files changed
+302 -118

No files matched your search

+1 -1
Переглянути файл
@@ -221,7 +221,7 @@ void IPCBackend::create_new_team([[maybe_unused]] Team *parent_team,
/**
* Allocate device-side memory for team_world and
* construct a GPU_IB team in it
* construct a IPC team in it
*/
GPUIBTeam *new_team_obj;
CHECK_HIP(hipMalloc(&new_team_obj, sizeof(IPCTeam)));