[v0.01] Detecting uarch. Looks like getting manufacturing process is much harder since we need GPU chip name
This commit is contained in:
@@ -27,7 +27,7 @@ struct cache {
|
||||
};
|
||||
|
||||
struct topology {
|
||||
int32_t shared_mp;
|
||||
int32_t streaming_mp;
|
||||
int32_t cores_per_mp;
|
||||
int32_t cuda_cores;
|
||||
};
|
||||
|
||||
@@ -54,9 +54,9 @@ int main(int argc, char* argv[]) {
|
||||
return EXIT_FAILURE;
|
||||
|
||||
printf("Name: %s\n", get_str_gpu_name(gpu));
|
||||
printf("Microarchitecture: %s\n", get_str_uarch(gpu));
|
||||
printf("Compute Capability: %s\n", get_str_cc(gpu));
|
||||
printf("Technology: %s\n", get_str_process(gpu));
|
||||
printf("Microarchitecture: %s\n", get_str_uarch(gpu->arch));
|
||||
printf("Compute Capability: %s\n", get_str_cc(gpu->arch));
|
||||
printf("Technology: %s\n", get_str_process(gpu->arch));
|
||||
printf("Max Frequency: %s\n", get_str_freq(gpu));
|
||||
printf("SM: %s\n", get_str_sm(gpu));
|
||||
printf("Cores/MP: %s\n", get_str_cores_sm(gpu));
|
||||
|
||||
Reference in New Issue
Block a user