[v0.20] Rename CUDA topology struct to improve consistency
This commit is contained in:
@@ -438,7 +438,7 @@ bool print_gpufetch_cuda(struct gpu_info* gpu, STYLE s, struct color** cs, struc
|
||||
setAttribute(art, ATTRIBUTE_STREAMINGMP, sms);
|
||||
setAttribute(art, ATTRIBUTE_CORESPERMP, corespersm);
|
||||
setAttribute(art, ATTRIBUTE_CUDA_CORES, cores);
|
||||
if(gpu->topo->tensor_cores > 0) {
|
||||
if(gpu->topo_c->tensor_cores > 0) {
|
||||
setAttribute(art, ATTRIBUTE_TENSOR_CORES, tensorc);
|
||||
}
|
||||
setAttribute(art, ATTRIBUTE_MEMORY, mem);
|
||||
@@ -446,7 +446,7 @@ bool print_gpufetch_cuda(struct gpu_info* gpu, STYLE s, struct color** cs, struc
|
||||
setAttribute(art, ATTRIBUTE_BUS_WIDTH, bus_width);
|
||||
setAttribute(art, ATTRIBUTE_L2, l2);
|
||||
setAttribute(art, ATTRIBUTE_PEAK, pp);
|
||||
if(gpu->topo->tensor_cores > 0) {
|
||||
if(gpu->topo_c->tensor_cores > 0) {
|
||||
setAttribute(art, ATTRIBUTE_PEAK_TENSOR, pp_tensor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user