
There was a misunderstanding of what the CUDA traits really stood for. This wasn't helped by the fact that the NVIDIA CUDA documentation and versioning system is so awkward. Basically, there's the CUDA Compute Capability version, which represents the hardware GPU instruction set extensions supported by various NVIDIA GPUs. And there is the CUDA SDK version which represents a window of CUDA Compute Capability versions that the library is able to work with. This patch adds a new os_traits.hw.gpu.cuda module with these new traits. It removes the old os_traits.hw.gpu.api.CUDA* traits since those were misleading and inaccurate. It also adds a new utility function that maps CUDA SDK version to supported CUDA Compute Capability versions that the SDK supports. This support matrix information was taken from the CUDA wikipedia article which lists the supported version information. Change-Id: Id4adb6874615ad5f9f8aff780a83119e10a38c35
os-traits
os-traits is a library containing standardized trait strings.
Traits are strings that represent a feature of some resource provider. This library contains the catalog of constants that have been standardized in the OpenStack community to refer to a particular hardware, virtualization, storage, network, or device trait.
- Free software: Apache license
- Documentation: https://docs.openstack.org/os-traits/latest/
- Source: http://git.openstack.org/cgit/openstack/os-traits
- Bugs: https://bugs.launchpad.net/os-traits
- Release Notes: https://docs.openstack.org/releasenotes/os-traits
Description
A library containing standardized trait strings. Used by placement service and clients to ensure consistency.
Languages
Python
100%