| 23 | } |
| 24 | |
| 25 | megcoreStatus_t megcoreGetPlatform( |
| 26 | megcoreDeviceHandle_t handle, megcorePlatform_t* platform) { |
| 27 | megdnn_assert(handle); |
| 28 | *platform = handle->content->platform(); |
| 29 | return megcoreSuccess; |
| 30 | } |
| 31 | |
| 32 | megcoreStatus_t megcoreGetDeviceID(megcoreDeviceHandle_t handle, int* deviceID) { |
| 33 | megdnn_assert(handle); |