Returns the name of a specific computational device


const char* mira_GetDeviceName(mrkernel* pmr,int deviceInd)


Input: 

  • Runtime environment pointer
  • Device index


Output: String name of a device


Description:

mira_GetDeviceName returns the name for a specific device. Before using mira_GetDeviceName or mira_GetDeviceCount, the device list needs to be constructed by mira_RefreshDeviceList.