Actually no one is calling this guy

This commit is contained in:
Dr-Noob
2025-10-15 07:28:15 +02:00
parent fd038963f1
commit 1337ebede4
2 changed files with 1 additions and 9 deletions

View File

@@ -307,10 +307,3 @@ const char* get_str_uarch_hsa(struct uarch* arch) {
} }
return uarch_str[arch->uarch]; return uarch_str[arch->uarch];
} }
// TODO: Move this to common!
void free_uarch_struct(struct uarch* arch) {
free(arch->uarch_str);
free(arch->chip_str);
free(arch);
}

View File

@@ -8,6 +8,5 @@ struct uarch;
struct uarch* get_uarch_from_hsa(struct gpu_info* gpu, char* gpu_name); struct uarch* get_uarch_from_hsa(struct gpu_info* gpu, char* gpu_name);
char* get_str_uarch_hsa(struct uarch* arch); char* get_str_uarch_hsa(struct uarch* arch);
char* get_str_process(struct uarch* arch); // TODO: Shouldnt we define this in the cpp? char* get_str_process(struct uarch* arch); // TODO: Shouldnt we define this in the cpp?
void free_uarch_struct(struct uarch* arch);
#endif #endif