Merge branch 'pr1-device' into pr2-engine

This commit is contained in:
C_Tamas committed 2026-10-25 17:19:16 +07:00
commit 06172e98de
49 files changed
+2100 -205

No files matched your search

+5
View File
@@ -42,6 +42,11 @@ int rad_dev_count(void);
int rad_dev_set(int device);
int rad_dev_props(int device, RadDeviceProps* out);
int rad_dev_enable_peer(int self, int peer);
/* Whether the driver reports that `self` can reach `peer`'s memory, 1 or 0, asked before anything
* is enabled: this is the fact collectives constrain (rad_types.h's RAD_FACT_P2P), so a tool that
* declares a multi-rank graph must measure it and set the fact as Engine does. Negative on a
* device error. */
int rad_dev_peer_access(int self, int peer);
void* rad_dev_alloc(int64_t bytes, int kind);
void rad_dev_free(void* p, int kind);