Skip to content

Commit ecd55b6

Browse files
joshpetersonmodularbot
authored andcommitted
[Driver] Update device context error message for new debug config
Point the error message to the new configuration option. MODULAR_ORIG_COMMIT_REV_ID: 928b943e50824356c65c94de5dcee5dd4a66dc5a
1 parent cb9497d commit ecd55b6

5 files changed

Lines changed: 4 additions & 14516 deletions

File tree

book/i18n/ko/src/puzzle_09/first_case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ First Case: Try to identify what's wrong without looking at the code!
4949
5050
stack trace was not collected. Enable stack trace collection with environment variable `MOJO_ENABLE_STACK_TRACE_ON_ERROR`
5151
Unhandled exception caught during execution: At open-source/max/mojo/stdlib/stdlib/gpu/host/device_context.mojo:2082:17: CUDA call failed: CUDA_ERROR_INVALID_IMAGE (device kernel image is invalid)
52-
To get more accurate error information, set MODULAR_DEVICE_CONTEXT_SYNC_MODE=true.
52+
To get more accurate error information, set MODULAR_DEBUG=device-sync-mode.
5353
/home/ubuntu/workspace/mojo-gpu-puzzles/.pixi/envs/nvidia/bin/mojo: error: execution exited with a non-zero result: 1
5454
```
5555

book/i18n/ko/src/puzzle_09/second_case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Computing sliding window sums (window size = 3)...
6060
Each position should sum its neighbors: [left + center + right]
6161
stack trace was not collected. Enable stack trace collection with environment variable `MOJO_ENABLE_STACK_TRACE_ON_ERROR`
6262
Unhandled exception caught during execution: At open-source/max/mojo/stdlib/stdlib/gpu/host/device_context.mojo:2082:17: CUDA call failed: CUDA_ERROR_INVALID_IMAGE (device kernel image is invalid)
63-
To get more accurate error information, set MODULAR_DEVICE_CONTEXT_SYNC_MODE=true.
63+
To get more accurate error information, set MODULAR_DEBUG=device-sync-mode.
6464
/home/ubuntu/workspace/mojo-gpu-puzzles/.pixi/envs/nvidia/bin/mojo: error: execution exited with a non-zero result: 1
6565
```
6666

book/src/puzzle_09/first_case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ First Case: Try to identify what's wrong without looking at the code!
4747
4848
stack trace was not collected. Enable stack trace collection with environment variable `MOJO_ENABLE_STACK_TRACE_ON_ERROR`
4949
Unhandled exception caught during execution: At open-source/max/mojo/stdlib/stdlib/gpu/host/device_context.mojo:2082:17: CUDA call failed: CUDA_ERROR_INVALID_IMAGE (device kernel image is invalid)
50-
To get more accurate error information, set MODULAR_DEVICE_CONTEXT_SYNC_MODE=true.
50+
To get more accurate error information, set MODULAR_DEBUG=device-sync-mode.
5151
/home/ubuntu/workspace/mojo-gpu-puzzles/.pixi/envs/nvidia/bin/mojo: error: execution exited with a non-zero result: 1
5252
```
5353

book/src/puzzle_09/second_case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Computing sliding window sums (window size = 3)...
6060
Each position should sum its neighbors: [left + center + right]
6161
stack trace was not collected. Enable stack trace collection with environment variable `MOJO_ENABLE_STACK_TRACE_ON_ERROR`
6262
Unhandled exception caught during execution: At open-source/max/mojo/stdlib/stdlib/gpu/host/device_context.mojo:2082:17: CUDA call failed: CUDA_ERROR_INVALID_IMAGE (device kernel image is invalid)
63-
To get more accurate error information, set MODULAR_DEVICE_CONTEXT_SYNC_MODE=true.
63+
To get more accurate error information, set MODULAR_DEBUG=device-sync-mode.
6464
/home/ubuntu/workspace/mojo-gpu-puzzles/.pixi/envs/nvidia/bin/mojo: error: execution exited with a non-zero result: 1
6565
```
6666

0 commit comments

Comments
 (0)