allow all three backends to co-exist in a single build (#270)

* add support for compiling all backends

also include the logic to select backends either based on user requests
or through some heuristics

* checkpoint for compiling all backends

* final checkpoint

all tests seem to pass when compiling all three backends simultaneasly
and forcing to use any of the three Backends.

* update PR to new envvar system
This commit is contained in:
Edgar Gabriel
2025-10-07 10:49:20 -05:00
committed by GitHub
parent c84bbc250b
commit a1269e3db5
22 changed files with 353 additions and 47 deletions
+5
View File
@@ -471,6 +471,11 @@ class Context {
*/
int my_pe{-1};
/**
* @brief Duplicated local copy of backend's type
*/
BackendType btype;
/**
* @brief Stats common to all types of device contexts.
*/