[v0.02] Fix typos. Divide memory detection in two phases. Show real memory frequency, instead of the returned by CUDA

This commit is contained in:
Dr-Noob
2021-08-15 22:17:46 +02:00
parent 8386052b10
commit 8f31748d1e
4 changed files with 12 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ void printBug(const char *fmt, ...) {
vsnprintf(buffer,buffer_size, fmt, args);
va_end(args);
fprintf(stderr, RED "[ERROR]: " RESET "%s\n",buffer);
fprintf(stderr,"Please, create a new issue with this error message in https://github.com/Dr-Noob/gpufetch/issues\n");
fprintf(stderr,"Please, create a new issue with this error message on https://github.com/Dr-Noob/gpufetch/issues\n");
delete [] buffer;
}

View File

@@ -48,6 +48,7 @@ struct memory {
MEMTYPE type;
int32_t bus_width;
int32_t freq;
int32_t clk_mul; // clock multiplier
};
struct gpu_info {