[v0.01] Retrieve memory info. All fields done except memory type (how to do it?)

This commit is contained in:
Dr-Noob
2021-08-13 22:26:55 +02:00
parent 981daef728
commit 10295f2955
4 changed files with 78 additions and 11 deletions

View File

@@ -64,7 +64,8 @@ int main(int argc, char* argv[]) {
printf("CUDA cores: %d\n", get_str_cuda_cores(gpu));
printf("Memory size: %s\n", get_str_memory_size(gpu));
printf("Memory type: %s\n", get_str_memory_type(gpu));
printf("L1 size: %s\n", get_str_l1(gpu));
printf("Memory frequency: %s\n", get_str_memory_clock(gpu));
printf("Bus width: %s\n", get_str_bus_width(gpu));
printf("L2 size: %s\n", get_str_l2(gpu));
printf("Peak performance: %s\n", get_str_peak_performance(gpu));