Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rmm/nvcc dependencies to fix cudaErrorUnsupportedPtxVersion error #175

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

gigony
Copy link
Contributor

@gigony gigony commented Dec 2, 2021

Including rmm's CMakeLists.txt (by using add_subdirectory() method with FetchContent in CMakeList.txt), though it is not used/linked to libcucim.so, polluted main libcucim's CMake environment variables (cuCIM was including old rmm version whose CMakeLists.txt was not modernized) so PTX code was always included in libcucim.so causing the issue in #170.

Since cuCIM currently doesn't use rmm, This patch removes rmm dependency completely and makes sure that libcucim.so doesn't have PTX code.

  • Remove superbuild_depend(rmm) and add superbuild_depend(googletest)
  • Remove CUDA language in CMakeLists.txt
  • Fix compilation warnings/errors caused by switching to GCC compiler (instead of nvcc).

@gigony gigony added bug Something isn't working non-breaking Introduces a non-breaking change labels Dec 2, 2021
@gigony gigony added this to the v21.12.00 milestone Dec 2, 2021
@gigony gigony requested review from a team as code owners December 2, 2021 21:21
@gigony gigony self-assigned this Dec 2, 2021
@jakirkham jakirkham changed the base branch from branch-22.02 to branch-21.12 December 2, 2021 21:32
@jakirkham jakirkham mentioned this pull request Dec 3, 2021
@ajschmidt8 ajschmidt8 merged commit ab4ed64 into rapidsai:branch-21.12 Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants