Home
last modified time | relevance | path

Searched refs:key_idx (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/objects/device/tests/
H A Dex11.cxx137 std::ptrdiff_t key_idx = 0; in TestAllCombinations() local
143 key_idx = std::distance(keys, std::find(keys, keys_end, actual_key)); in TestAllCombinations()
144 …PetscCheck(key_idx >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Key index %" PetscCount_FMT " < 0, this… in TestAllCombinations()
145 found_keys[key_idx]++; in TestAllCombinations()
146 …PetscCall(CheckMarkedObjectMap(key_idx < std::distance(keys, keys_end), "marked object map could n… in TestAllCombinations()
148 …(CheckMarkedObjectMap(modes[key_idx] == mode, "unexpected mode %s, expected %s", PetscMemoryAccess… in TestAllCombinations()
149 …etscCall(CheckMarkedObjectMap(ndeps[key_idx] == 1, "unexpected number of dependencies %zu, expecte… in TestAllCombinations()
150 …Map(dependencies[key_idx][0]->dtype == dtype, "unexpected device type on event: %s, expected %s", … in TestAllCombinations()