Archived
radiance 1.1.1
- Pinned host memory works again on kernel drivers without the SVM API (e.g. a KVM guest with the cards passed through): the host pool is one allocation there instead of 1 GiB pieces that landed apart on the cards (#28). Regression since 1.0.9. - A host-pool refusal no longer advises shrinking the pool when it fits under the pin cap and the available RAM.
This commit is contained in:
1 parent
82b5835c02
commit
7001841e45
5 files changed
+113
-15
No files matched your search
@@ -164,7 +164,8 @@ TEST(alloc_free_roundtrip) {
|
||||
* address on the card, copies and fills that cross a piece boundary landing whole, and none of
|
||||
* them taken for pageable memory -- a fill of pageable memory is refused, so the fill is the
|
||||
* check. 2.5 GiB is the single-pin size an Intel VT-d host refused; the boundaries crossed are
|
||||
* the whole GiBs. */
|
||||
* the whole GiBs. Under HSA_USE_SVM=0 (ctest's device_test_nosvm) the same range is one host-pool
|
||||
* allocation instead, and the same checks hold it. */
|
||||
TEST(a_pinned_range_larger_than_one_pin_is_one_range_on_the_card) {
|
||||
const int64_t gib = (int64_t)1 << 30;
|
||||
const int64_t n = 5 * (gib / 2) + 4096 + 17;
|
||||
|
||||
Reference in new issue
Block a user