Doc: NVIDIA's driver refuses a device of its plan with host memory or initialization failed where channels run out
Measured on an RTX 2080 (NVIDIA 620.70.06, job m3-max-18967, the probe's --fills): beside 60 devices of 3 VkQueues the runtime's device of 18 was refused with VK_ERROR_OUT_OF_HOST_MEMORY, beside 62 and 64 with VK_ERROR_INITIALIZATION_FAILED, and each time it was made with its least plan's 3 and announced it (the probe built at bdfc5047d2, with 86def80883's retry). Before 86def80883 the first answer was Error::OutOfMemory(Host): the device test failure on the 2080 under parallel test load (job m3-max-18589).
This commit is contained in:
1 parent
915222c8e5
commit
d3a8fd86ee
1 file changed
+6
-3
@@ -1368,9 +1368,12 @@ pub(crate) struct LeastPlanTaken {
|
||||
|
||||
/// Whether `result` is a driver's refusal of a device for want of its resources, of which a
|
||||
/// device of fewer `VkQueue`s needs less: `VK_ERROR_TOO_MANY_OBJECTS` (Vulkan's answer where the
|
||||
/// device-specific resources a logical device needs run out), `VK_ERROR_INITIALIZATION_FAILED`
|
||||
/// (NVIDIA's driver, what it needs, such as its GPU's channels, held by other devices),
|
||||
/// `VK_ERROR_OUT_OF_DEVICE_MEMORY` or `VK_ERROR_OUT_OF_HOST_MEMORY`.
|
||||
/// device-specific resources a logical device needs run out), `VK_ERROR_INITIALIZATION_FAILED`,
|
||||
/// `VK_ERROR_OUT_OF_DEVICE_MEMORY` or `VK_ERROR_OUT_OF_HOST_MEMORY`. NVIDIA's driver answers the
|
||||
/// second or the last where other devices hold its GPU's channels: on an RTX 2080
|
||||
/// (NVIDIA 620.70.06), beside 60 devices of 3 `VkQueue`s, a device of 18 was refused with
|
||||
/// `VK_ERROR_OUT_OF_HOST_MEMORY`, and beside 62 or 64 with `VK_ERROR_INITIALIZATION_FAILED`; a
|
||||
/// device of 3 was made beside each (`examples/queue_plan_cost.rs`, `--fills`).
|
||||
fn for_want_of_resources(result: vk::Result) -> bool {
|
||||
matches!(
|
||||
result,
|
||||
|
||||
Reference in new issue
Block a user