nvmath.device.current_device_lto

nvmath.device.current_device_lto()[source]

A helper function to get the default code type for link time optimization (LTO) on the current device.

Returns:

A CodeType object representing the default LTO code type for the current device.