diff --git a/CodeLegacy/Os/NvApi.cs b/CodeLegacy/Os/NvApi.cs index 2b075e4..dc5b336 100644 --- a/CodeLegacy/Os/NvApi.cs +++ b/CodeLegacy/Os/NvApi.cs @@ -29,13 +29,13 @@ namespace Flowframes.Os { float vramGb = gpu.GetVramGb(); vramGb = (float)(Math.Round(vramGb * 2, MidpointRounding.AwayFromZero) / 2); // Round to nearest 0.5 GB - Logger.Log($"[NvAPI] Nvidia GPU: {gpu.FullName} ({vramGb.ToString("0.#")} GB) {GetArch(gpu)} Architecture", true); + Logger.Log($"[NvAPI] Nvidia GPU: {gpu.FullName}, {vramGb.ToString("0.#")} GB, {GetArch(gpu)} Architecture", true); GpuVram[gpu] = vramGb; } NvGpus = gpus.OrderByDescending(g => GpuVram[g]).ThenBy(g => g.FullName).ToList(); string mostVramGpu = gpus.Length > 1 ? $" Most VRAM: {GpuWithMostVram.FullName} ({GpuVram[GpuWithMostVram].ToString("0.#")} GB)" : ""; - Logger.Log($"[NvAPI] Initialized Nvidia API in {sw.ElapsedMs} ms. GPU{(gpus.Length > 1 ? "s" : "")}: {string.Join(", ", gpus.Select(g => g.FullName))}.{mostVramGpu}", true); + Logger.Log($"[NvAPI] Initialized Nvidia API in {sw.ElapsedMs} ms - GPU{(gpus.Length > 1 ? "s" : "")}: {string.Join(", ", gpus.Select(g => g.FullName))}{mostVramGpu}", true); } catch (Exception e) { diff --git a/CodeLegacy/Os/VulkanUtils.cs b/CodeLegacy/Os/VulkanUtils.cs index b1fe490..7b3e138 100644 --- a/CodeLegacy/Os/VulkanUtils.cs +++ b/CodeLegacy/Os/VulkanUtils.cs @@ -52,7 +52,7 @@ namespace Flowframes.Os // Clean up Vulkan resources vkInstance.Destroy(); - Logger.Log($"[VK] Vulkan device check completed after {sw.ElapsedMs} ms", true); + Logger.Log($"[VK] Vulkan device check completed in {sw.ElapsedMs} ms", true); } catch(Exception ex) { @@ -80,10 +80,5 @@ namespace Flowframes.Os return 0; } - - public static int GetMaxNcnnThreads(VkDevice device) - { - return device.ComputeQueueCount; - } } } \ No newline at end of file