| 90 | } |
| 91 | |
| 92 | void devprop(char* d_name, char* d_platform, char* d_toolkit, char* d_compute) { |
| 93 | const CPUInfo cinfo = DeviceManager::getInstance().getCPUInfo(); |
| 94 | |
| 95 | snprintf(d_name, 64, "%s", cinfo.vendor().c_str()); |
| 96 | snprintf(d_platform, 10, "CPU"); |
| 97 | // report the compiler for toolkit |
| 98 | snprintf(d_toolkit, 64, "%s", AF_COMPILER_STR); |
| 99 | snprintf(d_compute, 10, "%s", "0.0"); |
| 100 | } |
| 101 | |
| 102 | int& getMaxJitSize() { |
| 103 | constexpr int MAX_JIT_LEN = 100; |
no test coverage detected