New revision, this time with:
* one less `memset` in tests * the commit adding initial stub renamed as suggested * construction of GPUs cache moved below construction of adapters cache * first `calloc` moved a bit * second (duplicate) `calloc` removed * number of matching adapters added to cache * assignments to `pAdapters[i]` reordered