Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for core dump enabling #646

Open
eyalroz opened this issue Apr 20, 2024 · 0 comments
Open

Add support for core dump enabling #646

eyalroz opened this issue Apr 20, 2024 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Apr 20, 2024

Since CUDA 12.1, the driver API has a Coredump Attributes Control API:

CUresult cuCoredumpGetAttribute ( CUcoredumpSettings attrib, void* value, size_t* size )
CUresult cuCoredumpGetAttributeGlobal ( CUcoredumpSettings attrib, void* value, size_t* size )
CUresult cuCoredumpSetAttribute ( CUcoredumpSettings attrib, void* value, size_t* size )
CUresult cuCoredumpSetAttributeGlobal ( CUcoredumpSettings attrib, void* value, size_t* size )

(context-specific and app-wide getter and setters).

And the attributes are:

CU_COREDUMP_ENABLE_ON_EXCEPTION
CU_COREDUMP_TRIGGER_HOST
CU_COREDUMP_LIGHTWEIGHT
CU_COREDUMP_ENABLE_USER_TRIGGER
CU_COREDUMP_FILE
CU_COREDUMP_PIPE
CU_COREDUMP_MAX

There are also some related context flags:

Let's figure out what all of these do and move on to support them.

@eyalroz eyalroz added the task label Apr 20, 2024
@eyalroz eyalroz added this to the Full CUDA 12.1 Support milestone Apr 20, 2024
@eyalroz eyalroz self-assigned this Apr 20, 2024
@eyalroz eyalroz removed their assignment Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant