Add backend type query method, use it to disable 32bit amo testers on gda (#307)

* Add backend type query method, use it to disable 32bit amo testers on
gda

* The infrateam testers work
This commit is contained in:
Aurelien Bouteiller
2025-11-05 10:24:07 -05:00
committed by GitHub
parent 7b5765ec0e
commit 8c175315f2
6 changed files with 83 additions and 52 deletions
+7
View File
@@ -138,6 +138,13 @@ extern __constant__ rocshmem_ctx_t ROCSHMEM_CTX_INVALID;
*/
void set_internal_ctx(rocshmem_ctx_t *ctx);
/**
* Used internally to query the loaded backend
*/
//TODO: this should remain internal?
enum class BackendType { GDA_BACKEND, RO_BACKEND, IPC_BACKEND };
BackendType get_backend_type();
typedef uint64_t *rocshmem_team_t;
extern rocshmem_team_t ROCSHMEM_TEAM_WORLD;