Skip to content

Commit

Permalink
Try to fix QEMU build
Browse files Browse the repository at this point in the history
  • Loading branch information
echuraev committed Apr 13, 2021
1 parent 278e75d commit ee0e150
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/runtime/crt/common/crt_runtime_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ int TVMDeviceCopyDataFromTo(DLTensor* from, DLTensor* to, TVMStreamHandle stream
return 0;
}

int TVMStreamCreate(int device_type, int device_id, TVMStreamHandle* out) {
out = nullptr;
return 0;
}

int TVMStreamFree(int device_type, int device_id, TVMStreamHandle stream) { return 0; }

int TVMSetStream(int device_type, int device_id, TVMStreamHandle stream) { return 0; }

int TVMSynchronize(int device_type, int device_id, TVMStreamHandle stream) { return 0; }

static TVMMutableFuncRegistry global_func_registry;
Expand Down

0 comments on commit ee0e150

Please sign in to comment.