blender/tests/performance/api/__init__.py
Jeroen Bakker 64ac8ada59 Benchmark: Vulkan device selection
This PR allows to run benchmarks on multiple GPUs (one at a time).
It also contains some fixes to the reporting and normalization of the
device ID's.

Device ID normalization is done as some existing configs only contain
`VULKAN` which need to be matched against `VULKAN_0` and vise-versa.

Device selection doesn't use `blender --gpu-device help` to detect devices
as that option doesn't exist in older builds.

Now with fixed python validations.

Original Pull Request: https://projects.blender.org/blender/blender/pulls/158898

Pull Request: https://projects.blender.org/blender/blender/pulls/159234
2026-05-28 16:28:15 +02:00

12 lines
428 B
Python

# SPDX-FileCopyrightText: 2021-2022 Blender Authors
#
# SPDX-License-Identifier: Apache-2.0
from .common import normalize_device_id
from .environment import TestFailure, TestEnvironment
from .device import TestDevice, TestMachine
from .config import TestEntry, TestQueue, TestConfig
from .test import Test, TestCollection
from .graph import TestGraph
from .table import MarkdownTable
from .bisect import Bisect, BisectProgress