CliMA / CliMA/ClimaCore.jl

Provide a way to statically elide unreachable errors

Open
#1,872 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Julia
Stars
117
Forks
19
Avg merge
3d 4h
Merged PRs (30d)
41

Description

Per slack:

Charlie Kawczynski
> Can unreachable errors increase register usage?

Tim Besard
> yes. registers are statically allocated, so the compiler needs to take all possible paths into account. so unless it's been optimized away (check the generated LLVM IR), they may affect register usage.

So, this may be impacting our gpu register usage.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by reproducing the affected GPU code and inspecting its generated LLVM IR, as suggested in the discussion, to determine whether unreachable errors remain and affect register allocation. Done should include a defined way to elide those errors and evidence of the resulting register usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
hpc, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.