| 457 | #define MegCC_Device_OPENCL_MALI ((MegCC_Device_enum_t)INT8_C(5)) |
| 458 | |
| 459 | static inline const char *MegCC_Device_name(MegCC_Device_enum_t value) |
| 460 | { |
| 461 | switch (value) { |
| 462 | case MegCC_Device_BARE_METAL: return "BARE_METAL"; |
| 463 | case MegCC_Device_ARM64: return "ARM64"; |
| 464 | case MegCC_Device_ARM32: return "ARM32"; |
| 465 | case MegCC_Device_ARM64_V82: return "ARM64_V82"; |
| 466 | case MegCC_Device_ARM32_V82: return "ARM32_V82"; |
| 467 | case MegCC_Device_OPENCL_MALI: return "OPENCL_MALI"; |
| 468 | default: return ""; |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | static inline int MegCC_Device_is_known_value(MegCC_Device_enum_t value) |
| 473 | { |
nothing calls this directly
no outgoing calls
no test coverage detected