masahi commented on pull request #7458: URL: https://github.com/apache/tvm/pull/7458#issuecomment-780153529
@mbrookhart Yes, I wanted to reuse `thrust.cu` as is, by adding the following to `ROCM.cmake`: ``` file(GLOB CONTRIB_THRUST_SRC src/runtime/contrib/thrust/*.cu) ``` But unlike for CUDA, cmake doesn't recognize that this .cu file needs to be compiled by the same CXX compiler (`hipcc`), so it will not be compiled. I think CMake has a special support for NVCC and .cu file. ---------------------------------------------------------------- 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]
