Skip to content

Cuda examples won't compile on Windows #500

@Hurleyworks

Description

@Hurleyworks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions