mirror of
https://github.com/ollama/ollama.git
synced 2026-04-26 18:55:53 +02:00
fix vulkan handle releasing
This commit is contained in:
@@ -228,6 +228,11 @@ func GetGPUInfo() GpuInfoList {
|
||||
C.oneapi_release(*oHandles.oneapi)
|
||||
}
|
||||
}
|
||||
if vHandles != nil {
|
||||
if vHandles.vulkan != nil {
|
||||
C.vk_release(*vHandles.vulkan)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
if !bootstrapped {
|
||||
|
||||
Reference in New Issue
Block a user