-
Notifications
You must be signed in to change notification settings - Fork 241
Closed
Labels
P2Low priority - Nice to haveLow priority - Nice to havecuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduleenhancementAny code-related improvementsAny code-related improvements
Milestone
Description
Currently the program name when compiling c++ code with Program always defaults to 'default_program'. This makes errors a little less descriptive than what is currently supported by numba-cuda. For instance when compiling an improperly formed c++ program with numba's NVRTC bindings, NVRTC will report
error.cu(4): error: identifier "SYNTAX" is undefined
SYNTAX ERROR
But through the Program interface I'll always get
default_program(4): error: identifier "SYNTAX" is undefined
SYNTAX ERROR
To fix this, we could consume the name through the program constructor and keep track of it or extend ProgramOptions with an additional option, or something else.
Metadata
Metadata
Assignees
Labels
P2Low priority - Nice to haveLow priority - Nice to havecuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core moduleenhancementAny code-related improvementsAny code-related improvements
Type
Projects
Status
Done