Fix Unit Test (Add Vulkan Library)

This commit is contained in:
Inforithmics 2025-08-30 20:26:53 +02:00
parent 879041d937
commit 8300a55e1d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import (
func TestBasicGetGPUInfo(t *testing.T) {
info := GetGPUInfo()
assert.NotEmpty(t, len(info))
assert.Contains(t, "cuda rocm cpu metal", info[0].Library)
assert.Contains(t, "cuda rocm cpu metal vulkan", info[0].Library)
if info[0].Library != "cpu" {
assert.Greater(t, info[0].TotalMemory, uint64(0))
assert.Greater(t, info[0].FreeMemory, uint64(0))