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;