8da7bef05f
In some cases we may want multiple variants for a given GPU type or CPU. This adds logic to have an optional Variant which we can use to select an optimal library, but also allows us to try multiple variants in case some fail to load. This can be useful for scenarios such as ROCm v5 vs v6 incompatibility or potentially CPU features. |
||
---|---|---|
.. | ||
gpu.go | ||
gpu_darwin.go | ||
gpu_info.h | ||
gpu_info_cpu.c | ||
gpu_info_cuda.c | ||
gpu_info_cuda.h | ||
gpu_info_rocm.c | ||
gpu_info_rocm.h | ||
gpu_test.go | ||
types.go |