You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal for this discussion is to let Python users define and launch raw Codon GPU kernels directly from Python while preserving a familiar decorator API similar to codon.jit.
Motivation
Codon already has native GPU support through import gpu and @gpu.kernel in Codon source.
The missing piece is a Python DSL path where Python code can define raw GPU kernels and launch them without writing a separate .codon file.
This is useful for:
rapid GPU kernel prototyping from Python
NumPy-backed host data interop
testing Codon GPU lowering through Python-facing workflows
eventually building higher-level Python libraries on top of Codon GPU kernels
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This Discussion proposes a Python-hosted GPU DSL path for
Codon:The goal for this discussion is to let Python users define and launch
raw Codon GPU kernelsdirectly from Python while preserving a familiar decorator API similar to codon.jit.Motivation
Codon already has native GPU support through
import gpuand@gpu.kernelin Codon source.The missing piece is a Python DSL path where Python code can define
raw GPU kernelsand launch them without writing a separate .codon file.This is useful for:
User Model
Beta Was this translation helpful? Give feedback.
All reactions