fixed vulkan casing
This commit is contained in:
parent
6bef63b0f9
commit
908b31814d
|
|
@ -142,7 +142,7 @@ func rocmGetVisibleDevicesEnv(gpuInfo []GpuInfo) string {
|
|||
func vkGetVisibleDevicesEnv(gpuInfo []GpuInfo) string {
|
||||
ids := []string{}
|
||||
for _, info := range gpuInfo {
|
||||
if info.Library != "VULKAN" {
|
||||
if info.Library != "Vulkan" {
|
||||
continue
|
||||
}
|
||||
ids = append(ids, info.ID)
|
||||
|
|
|
|||
Loading…
Reference in New Issue