tqchen commented on a change in pull request #7488:
URL: https://github.com/apache/tvm/pull/7488#discussion_r581219494
##########
File path: include/tvm/runtime/c_runtime_api.h
##########
@@ -572,7 +572,7 @@ TVM_DLL int TVMDeviceAllocDataSpace(DLContext ctx, size_t
nbytes, size_t alignme
* \param out_data The allocated device pointer.
* \return 0 when success, -1 when failure happens
*/
-TVM_DLL int TVMDeviceAllocDataSpaceWithScope(DLContext ctx, size_t ndim,
int64_t* shape,
+TVM_DLL int TVMDeviceAllocDataSpaceWithScope(DLContext ctx, int ndim, int64_t*
shape,
Review comment:
const int64_t*
##########
File path: src/runtime/c_runtime_api.cc
##########
@@ -593,7 +593,7 @@ int TVMDeviceAllocDataSpace(DLContext ctx, size_t nbytes,
size_t alignment, DLDa
API_END();
}
-int TVMDeviceAllocDataSpaceWithScope(DLContext ctx, size_t ndim, int64_t*
shape, DLDataType dtype,
+int TVMDeviceAllocDataSpaceWithScope(DLContext ctx, int ndim, int64_t* shape,
DLDataType dtype,
Review comment:
const int64_t
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]