JuliaGPU / JuliaGPU/KernelAbstractions.jl

Possible error due to KernelAbstractions while using VSCode debugger

Open
#405 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
523
Forks
88
Avg merge
1d 11h
Merged PRs (30d)
25

Description

hello - I'm able to run a script based on an Oceananigans example in VSCode, but get an error while using the VSCode debugger on the same script that runs fine. I've shared details incl screenshots and code here:

https://github.com/CliMA/Oceananigans.jl/issues/3171

It looks like the error has something to do with the usage of KernelAbstractions - one of the authors of the Oceananigans library has added a comment in the issue above

specifically, this line of code leads to the error:

https://github.com/JuliaGPU/KernelAbstractions.jl/blob/main/src/cpu.jl#L44

it'd be very helpful if someone who has run any KernelAbstractions code with VSCode could please share some feedback to help us resolve the issue.

I've also opened an issue on the julia-vscode extension github repo here:

https://github.com/julia-vscode/julia-vscode/issues/3349

thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported script under the VSCode debugger, then inspect src/cpu.jl around line 44 in KernelAbstractions. Review the linked Oceananigans and julia-vscode issues for the existing context and feedback. Done means isolating whether this line causes the debugger-only error and documenting or fixing the confirmed cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.