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:
@@ -32,7 +32,8 @@ namespace rocshmem {
|
||||
__device__ Context::Context(Backend* handle, bool shareable)
|
||||
: num_pes(handle->getNumPEs()),
|
||||
my_pe(handle->getMyPE()),
|
||||
fence_(shareable) {
|
||||
fence_(shareable),
|
||||
btype(handle->type) {
|
||||
/*
|
||||
* Device-side context constructor is a work-group collective, so make
|
||||
* sure all the members have their default values before returning.
|
||||
|
||||
Reference in New Issue
Block a user