Skip to content

Commit e08d3e1

Browse files
committed
rename to cuda
Signed-off-by: youkaichao <[email protected]>
1 parent 6ab6e04 commit e08d3e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2025-08-11-cuda-debugging.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: "GPU Core Dump: An Effective Tool to Debug Illegal Memory Accesses and Beyond"
3+
title: "CUDA Core Dump: An Effective Tool to Debug Illegal Memory Accesses and Beyond"
44
author: "Kaichao You"
55
image: /assets/logos/vllm-logo-text-light.png
66
---
@@ -35,7 +35,7 @@ A [core dump](https://en.wikipedia.org/wiki/Core_dump) is a feature jointly prov
3535

3636
By analogy, the core dump functionality on GPUs requires collaboration between GPU hardware and GPU drivers. When a thread on the GPU crashes during execution, the GPU hardware needs to trigger an exception and pass it to the GPU driver, which then immediately handles the exception. However, according to [forum discussions](https://forums.developer.nvidia.com/t/difference-in-error-handling-between-driver-api-and-runtime-api/336389), the default behavior of the GPU driver when handling exceptions is to mark the current CUDA context as unusable, rather than terminating the program.
3737

38-
# How to Enable GPU Core Dump
38+
# How to Enable CUDA Core Dump
3939

4040
Enabling GPU core dump is very straightforward; you just need to set the `CUDA_ENABLE_COREDUMP_ON_EXCEPTION=1` environment variable. However, for a smoother experience, you should also set a few additional environment variables:
4141

@@ -53,7 +53,7 @@ In summary, when using the GPU core dump feature, it is recommended to use the f
5353

5454
`CUDA_ENABLE_COREDUMP_ON_EXCEPTION=1 CUDA_COREDUMP_SHOW_PROGRESS=1 CUDA_COREDUMP_GENERATION_FLAGS='skip_nonrelocated_elf_images,skip_global_memory,skip_shared_memory,skip_local_memory' CUDA_COREDUMP_FILE="/persistent_dir/cuda_coredump_%h.%p.%t"`
5555

56-
# Example of Using GPU Core Dump
56+
# Example of Using CUDA Core Dump
5757

5858
Let's use some code to verify the effectiveness of GPU core dump.
5959

0 commit comments

Comments
 (0)