Program.compile() options parameter is not handled properly #221
Labels
cuda.core
Everything related to the cuda.core module
enhancement
Any code-related improvements
P1
Medium priority - Should do
compile() requires the options parameter to be an iterable which is inconsistent with the use of @ dataclass to support options to the other methods (device.create_stream etc.) This is not a bug, but rather an possible ux enhancement.
calling : Program(empty_entrypoint_kernel, "c++").compile("ltoir", ("-dlto"))
cuda.core.experimental._utils.NVRTCError: 5: NVRTC_ERROR_INVALID_OPTION, compilation log:
nvrtc: error: unrecognized option - found
("dlto",) would succeed.
The text was updated successfully, but these errors were encountered: