tqchen commented on code in PR #18107:
URL: https://github.com/apache/tvm/pull/18107#discussion_r2178356284
##########
src/runtime/cuda/cuda_device_api.cc:
##########
@@ -357,6 +357,8 @@ TVM_DLL int GetCudaDeviceCount() {
TVM_FFI_REGISTER_GLOBAL("runtime.GetCudaDeviceCount").set_body_typed(GetCudaDeviceCount);
+#ifdef __CUDACC__
Review Comment:
we don't need `__CUDACC__` likely, since this cc file is not compiled using
nvcc, instead just a normal c compiler
--
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]