JuliaGPU / JuliaGPU/GPUCompiler.jl

Truncated static backtraces

Open
#705 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
187
Forks
68
Avg merge
1d 12h
Merged PRs (30d)
28

Description

I was just looking at a backtrace in CUDA and the following was not that helpful.

```
3×1000000 CuArray{Float32, 2, CUDA.DeviceMemory}:
ERROR: a BoundsError was thrown during kernel execution on thread (256, 1, 1) in block (3, 1, 1).
Out-of-bounds array access
Stacktrace:
[1] throw_boundserror at /home/vchuravy/.julia/packages/CUDA/ja0IX/src/device/quirks.jl:15
[2] multiple call sites at unknown:0

Error showing value of type CuArray{Float32, 2, CUDA.DeviceMemory}:
```

Maybe we can add the common root? E.g. At least the kernel?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source files, tests, or entry points. Start by locating the stacktrace-generation and display paths in GPUCompiler.jl, then reproduce the CUDA kernel BoundsError shown here; done should mean the truncated backtrace includes a useful common root such as the kernel.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.