Skip to content

Specify hard header dependencies in setup.py and fail build early if those headers are missing #283

@vzhurba01

Description

@vzhurba01

Some headers are a hard dependency for which we know the compilation will fail like:

  • cuda.h
  • cudaProfiler.h
  • nvrtc.h
  • etc.

While others are option like:

  • cudaEGL.h
  • etc.

Currently the build gives a warning when certain headers are missing. If the mandatory header is missing then we fail at compile time. This can be improved by failing earlier when we first detect the mandatory header is missing. This will also allow for a cleaner error messaging.

Metadata

Metadata

Assignees

Labels

P1Medium priority - Should docuda.bindingsEverything related to the cuda.bindings moduleenhancementAny code-related improvements

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions