Push all code; needs testing + review

This commit is contained in:
Dr-Noob
2025-10-14 08:39:17 +02:00
parent b29b17d14f
commit 2d74d66f79
7 changed files with 370 additions and 16 deletions

13
src/hsa/uarch.hpp Normal file
View File

@@ -0,0 +1,13 @@
#ifndef __HSA_UARCH__
#define __HSA_UARCH__
#include "../common/gpu.hpp"
struct uarch;
struct uarch* get_uarch_from_hsa(struct gpu_info* gpu);
char* get_str_uarch_hsa(struct uarch* arch);
char* get_str_process(struct uarch* arch); // TODO: Shouldnt we define this in the cpp?
void free_uarch_struct(struct uarch* arch);
#endif