MIC branch has rudimentary device info class
rothpc opened this issue · 2 comments
rothpc commented
The MIC branch has a very rudimentary implementation of the device info class. It does not provide device names via driver script, and only rudimentary device names (e.g., "MIC 0") in response to the device info command line flag supported by each benchmark.
rothpc commented
The implementation uses Intel's extended OpenMP API (e.g., omp_get_max_threads_target instead of just omp_get_max_threads) and the offload API to get information about devices. It might be possible to do better by parsing the output of lspci, but that seems fragile and is very specific to Linux.
jyoung3131 commented
This issue should now be fixed. We've added as much relevant information as possible using the libmicmgmt API.
Commit:
49fc126