taskflow/taskflow

Cuda examples won't compile on Windows

Offen

#500 geöffnet am 02.09.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (1.101 Forks)batch import
help wantedquestion

Repository-Metriken

Stars
 (9.162 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 35T 4h) (1 gemergte PR in 30 T)

Beschreibung

Describe the bug Compiling Taskflow using cmake with cuda support enabled fails with this error message nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified

To Reproduce Steps to reproduce the behavior:

  1. clone Taskflow repository
  2. using Cmake gui, select the enable cuda option
  3. create the Taskflow solution
  4. try to compile the "cuda_device_property" example
  5. note that the compile fails with the above error message Screenshots

task_flow_cuda_compile_error

Desktop (please complete the following information):

  • Windows 11 Pro
  • Chrome
  • Cuda 12..2
  • NVIDIA RTX 3090 with 24GB

Additional context Add any other context about the problem here.

Contributor Guide