#[repr(transparent)]pub struct CUCoredumpGenerationFlags(pub c_int);Expand description
Flags for controlling coredump contents.
Tuple Fields§
§0: c_intImplementations§
Source§impl CUCoredumpGenerationFlags
impl CUCoredumpGenerationFlags
Sourcepub const CU_COREDUMP_DEFAULT_FLAGS: CUCoredumpGenerationFlags
pub const CU_COREDUMP_DEFAULT_FLAGS: CUCoredumpGenerationFlags
if set by itself, coredump generation returns to its default settings of including all memory regions that it is able to access
Sourcepub const CU_COREDUMP_SKIP_NONRELOCATED_ELF_IMAGES: CUCoredumpGenerationFlags
pub const CU_COREDUMP_SKIP_NONRELOCATED_ELF_IMAGES: CUCoredumpGenerationFlags
Coredump will not include the data from CUDA source modules that are not relocated at runtime.
Sourcepub const CU_COREDUMP_SKIP_GLOBAL_MEMORY: CUCoredumpGenerationFlags
pub const CU_COREDUMP_SKIP_GLOBAL_MEMORY: CUCoredumpGenerationFlags
Coredump will not include device-side global data that does not belong to any context.
Sourcepub const CU_COREDUMP_SKIP_SHARED_MEMORY: CUCoredumpGenerationFlags
pub const CU_COREDUMP_SKIP_SHARED_MEMORY: CUCoredumpGenerationFlags
Coredump will not include grid-scale shared memory for the warp that the dumped kernel belonged to.
Sourcepub const CU_COREDUMP_SKIP_LOCAL_MEMORY: CUCoredumpGenerationFlags
pub const CU_COREDUMP_SKIP_LOCAL_MEMORY: CUCoredumpGenerationFlags
Coredump will not include local memory from the kernel.
Sourcepub const CU_COREDUMP_SKIP_ABORT: CUCoredumpGenerationFlags
pub const CU_COREDUMP_SKIP_ABORT: CUCoredumpGenerationFlags
If set, GPU exceptions will not raise an abort() in the host CPU process. Same functional goal as CUcoredumpSettings_enum::CU_COREDUMP_TRIGGER_HOST but better reflects the default behavior.
Sourcepub const CU_COREDUMP_SKIP_CONSTBANK_MEMORY: CUCoredumpGenerationFlags
pub const CU_COREDUMP_SKIP_CONSTBANK_MEMORY: CUCoredumpGenerationFlags
Coredump will not include constbank memory.
Sourcepub const CU_COREDUMP_GZIP_COMPRESS: CUCoredumpGenerationFlags
pub const CU_COREDUMP_GZIP_COMPRESS: CUCoredumpGenerationFlags
The generated coredump will be compressed with gzip, and .gz suffix will be appended to the filename, if it’s not a part of it already.
Sourcepub const CU_COREDUMP_FAULTED_CONTEXTS_ONLY: CUCoredumpGenerationFlags
pub const CU_COREDUMP_FAULTED_CONTEXTS_ONLY: CUCoredumpGenerationFlags
The coredump will only include contexts that have encountered an exception or a trap.
Sourcepub const CU_COREDUMP_NO_ERRBAR_AT_EXIT: CUCoredumpGenerationFlags
pub const CU_COREDUMP_NO_ERRBAR_AT_EXIT: CUCoredumpGenerationFlags
By default, when coredumps are requested, the GPU will ensure memory faults and other errors prevent warps from exiting, if possible. This can potentially affect the performance of the application. Setting this flag will disable this functionality, making it possible for faulted warps to exit, but also avoiding the potential performance hit.
Sourcepub const CU_COREDUMP_LOG_ONLY: CUCoredumpGenerationFlags
pub const CU_COREDUMP_LOG_ONLY: CUCoredumpGenerationFlags
Setting this flag will disable actual generation of the coredump file, but exception details will still be logged.
Sourcepub const CU_COREDUMP_LIGHTWEIGHT_FLAGS: CUCoredumpGenerationFlags
pub const CU_COREDUMP_LIGHTWEIGHT_FLAGS: CUCoredumpGenerationFlags
Enables all of the above options. Equiavlent to setting the CUcoredumpSettings_enum::CU_COREDUMP_LIGHTWEIGHT attribute to true.