Ok so this is not reporting the actual size, Ill need to investigate why
This commit is contained in:
@@ -102,6 +102,7 @@ char* get_str_bus_width(struct gpu_info* gpu) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
char* get_str_lds_size(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;
|
uint32_t size = 3+1+3+1;
|
||||||
assert(strlen(STRING_UNKNOWN)+1 <= size);
|
assert(strlen(STRING_UNKNOWN)+1 <= size);
|
||||||
char* string = (char *) ecalloc(size, sizeof(char));
|
char* string = (char *) ecalloc(size, sizeof(char));
|
||||||
|
|||||||
@@ -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_FREQUENCY, max_frequency);
|
||||||
setAttribute(art, ATTRIBUTE_COMPUTE_UNITS, cus);
|
setAttribute(art, ATTRIBUTE_COMPUTE_UNITS, cus);
|
||||||
setAttribute(art, ATTRIBUTE_LDS_SIZE, lds_size);
|
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);
|
setAttribute(art, ATTRIBUTE_BUS_WIDTH, bus_width);
|
||||||
|
|
||||||
bool use_short = false;
|
bool use_short = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user