mehrdadh commented on code in PR #13909:
URL: https://github.com/apache/tvm/pull/13909#discussion_r1106239397
##########
src/runtime/crt/common/crt_runtime_api.c:
##########
@@ -112,7 +112,7 @@ int TVMDeviceAllocDataSpaceWithScope(DLDevice dev, int
ndim, const int64_t* shap
int TVMDeviceFreeDataSpace(DLDevice dev, void* ptr) { return
TVMPlatformMemoryFree(ptr, dev); }
-static bool IsContiguous(const DLTensor* arr) {
+TVM_ATTRIBUTE_UNUSED static bool IsContiguous(const DLTensor* arr) {
Review Comment:
Can you clarify why this was needed? was it for eliminating the warning?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]