[v0.11] Fix compilation error and ambiguity with CUDA and Intel backend when enabled at the same time due to functions with the same name
This commit is contained in:
@@ -143,7 +143,7 @@ char* get_str_peak_performance(struct gpu_info* gpu) {
|
||||
}
|
||||
|
||||
char* get_str_peak_performance_tensor(struct gpu_info* gpu) {
|
||||
return get_str_peak_performance_generic(gpu->peak_performance_t);
|
||||
return get_str_peak_performance_generic(gpu->peak_performance_tcu);
|
||||
}
|
||||
|
||||
char* get_str_generic(int32_t data) {
|
||||
|
||||
@@ -69,7 +69,7 @@ struct gpu_info {
|
||||
struct memory* mem;
|
||||
struct cache* cach;
|
||||
int64_t peak_performance;
|
||||
int64_t peak_performance_t;
|
||||
int64_t peak_performance_tcu;
|
||||
int32_t idx;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user