cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

Add descriptive exception handling to linker and program options which are not supported on a CTK version basis + handle in tests

Open keenan-simpson opened this issue 1 year ago • 2 comments

no-cache, for example, is not supported when using an environment with cuda 12.4 . Find a compatibility matrix and apply it to supported options when users construct a LinkerOptions instance.

It is possible that the issue is not related to compatibility, in which case it should be resolved appropriately.

repro:

run cuda core linker tests in an environment with nvjitlink from cuda 12.4

keenan-simpson avatar Jan 02 '25 19:01 keenan-simpson

edit: adding ProgramOptions to this suse, whcih experiences the same CTK version compatibility issues

keenan-simpson avatar Jan 06 '25 19:01 keenan-simpson

Q: What is the current error/traceback if the underlying CTK does not support an option? I assume it says "invalid option"?

leofang avatar Feb 12 '25 15:02 leofang