Skip to content

Commit 0ce6e8e

Browse files
committed
Add empty getMemInfo and getDeviceResourceSnapshot to infinirt_bang.cc
1 parent d1cee8a commit 0ce6e8e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/infinirt/bang/infinirt_bang.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,12 @@ infiniStatus_t graphLuanch(infinirtGraphExec_t graph_exec, infinirtStream_t stre
172172
return INFINI_STATUS_DEVICE_TYPE_NOT_SUPPORTED;
173173
}
174174

175+
infiniStatus_t getMemInfo(int device_id, size_t *free_bytes, size_t *total_bytes) {
176+
return INFINI_STATUS_DEVICE_TYPE_NOT_SUPPORTED;
177+
}
178+
179+
infiniStatus_t getDeviceResourceSnapshot(int device_id, infinirtDeviceResourceSnapshot_t *snapshot) {
180+
return INFINI_STATUS_DEVICE_TYPE_NOT_SUPPORTED;
181+
}
182+
175183
} // namespace infinirt::bang

0 commit comments

Comments
 (0)