r/Compilers • u/General_Purple3060 • Jul 06 '26
Heterogeneous computing didn't create a hardware problem. It exposed a missing language concept.
Everyone is trying to improve heterogeneous programming with better APIs.
CUDA HIP SYCL OpenMP.
But maybe the real problem isn't APIs.
Maybe programming languages simply don't have a way to represent execution domains.
We model
- data
- types
- scope
- inheritance
but not where computation belongs.
Once code crosses into another execution domain, much of the language semantics disappear.
I'm beginning to think heterogeneous computing isn't asking for a better runtime.
It's asking for a new language abstraction.
Am I missing something obvious?
0
Upvotes
View all comments
Show parent comment
1
u/General_Purple3060 Jul 06 '26
This is how I think about execution domains in AET:
When the host calls
setData(), the compiler reasons about it like this:In this model, the execution domain is already part of the compiler's semantic analysis.
Your example is about runtime assignment.
Mine is about compile-time semantics.
The runtime still exists, but it operates on a semantic decision that has already been made by the compiler.