From 3b567b9381642033e47e01dfb38cc524a32f7cc5 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Fri, 17 Oct 2025 09:05:13 +0200 Subject: [PATCH] Ok so this is not reporting the actual size, Ill need to investigate why --- src/common/gpu.cpp | 1 + src/common/printer.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/gpu.cpp b/src/common/gpu.cpp index 0094487..7e27133 100644 --- a/src/common/gpu.cpp +++ b/src/common/gpu.cpp @@ -102,6 +102,7 @@ char* get_str_bus_width(struct gpu_info* gpu) { } char* get_str_lds_size(struct gpu_info* gpu) { + // TODO: Show XX KB (XX MB Total) like in cpufetch uint32_t size = 3+1+3+1; assert(strlen(STRING_UNKNOWN)+1 <= size); char* string = (char *) ecalloc(size, sizeof(char)); diff --git a/src/common/printer.cpp b/src/common/printer.cpp index abca269..27bfa2a 100644 --- a/src/common/printer.cpp +++ b/src/common/printer.cpp @@ -502,7 +502,7 @@ bool print_gpufetch_amd(struct gpu_info* gpu, STYLE s, struct color** cs, struct setAttribute(art, ATTRIBUTE_FREQUENCY, max_frequency); setAttribute(art, ATTRIBUTE_COMPUTE_UNITS, cus); setAttribute(art, ATTRIBUTE_LDS_SIZE, lds_size); - setAttribute(art, ATTRIBUTE_MEMORY, mem); + // setAttribute(art, ATTRIBUTE_MEMORY, mem_size); setAttribute(art, ATTRIBUTE_BUS_WIDTH, bus_width); bool use_short = false;