cuda.bindings._v2.driver.coredump_get_attribute#

cuda.bindings._v2.driver.coredump_get_attribute(int attrib)#

Fetch a coredump attribute value for the current context.

Parameters:

attrib (int) – A CoredumpSettings value.

Returns:

bytes for FILE and PIPE, int (a bitmask of CoredumpGenerationFlags) for GENERATION_FLAGS, and bool for ENABLE_ON_EXCEPTION, TRIGGER_HOST, LIGHTWEIGHT and ENABLE_USER_TRIGGER.

Return type:

bytes | bool | int

See also

cuCoredumpGetAttribute