#ifndef __COMMON_UARCH__ #define __COMMON_UARCH__ // Data not available #define NA -1 // Unknown manufacturing process #define UNK -1 typedef uint32_t GPUCHIP; typedef uint32_t MICROARCH; struct uarch { // NVIDIA specific int32_t cc_major; int32_t cc_minor; int32_t compute_capability; // HSA specific int32_t llvm_target; // Intel specific int32_t gt; int32_t eu; MICROARCH uarch; GPUCHIP chip; int32_t process; char* uarch_str; char* chip_str; }; #endif