Skip to content

[Build] CUDA nvrtc-builtins not found in windows #3652

Description

@edwinsolisf

Description

The find_cuda_helper_libs(nvrtc-builtins) from src/backend/cuda/CMakeLists.txt:52 does not find the nvrtc-builtins library in windows as the library is prepended with cuda toolkit version. That is, cmake is searching for nvrtc-builtins.lib but it does not exist in windows. The alternative file to search is nvrtc-builtins_static.lib. See nvidia-docs

Without this modification the cuda backend builds without any issue on Windows.

Proposed solution is to not add this dependency when building on windows

Error Log

CUDA_nvrtc-builtins_LIBRARY is set to Not Found

Build Environment

Compiler version:
Operating system:
Build environment:
CMake variables:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions