7676### Phase E — Example Consolidation
7777- [x] ` nn_cifar10_cuda ` — opt-in CUDA smoke (` VTL_USE_CUDA=1 ` , ` -d cuda ` )
7878- [x] ` nn_cifar10_vulkan ` — f32 smoke + ` linear_forward_vulkan ` check
79- - [ ] All variants should pass ` v check-md -fix -hide-warnings ` from ` ~/.vmodules `
79+ - [x] Root ` README.md ` passes ` v check-md -hide-warnings `
80+ - [ ] All example READMEs pass ` v check-md -hide-warnings `
81+
82+ ### Phase F — GPU training loop (follow-up to #91 )
83+ - [x] Phase 1: ` DeviceSession ` buffer reuse; CUDA forward for Linear/Conv2D
84+ - [ ] Phase 2: GPU-resident ` Variable ` (forward tensors)
85+ - [ ] Phase 3: CUDA backward for Linear / Conv2D
86+ - [ ] Phase 4: Optimizer state on device
87+
88+ See [ docs/DEVICE_MEMORY.md] ( docs/DEVICE_MEMORY.md ) .
89+
90+ ---
91+
92+ ## 🔜 Next priorities
93+
94+ | Priority | Work item |
95+ | ----------| -----------|
96+ | P1 | [ #41 ] ( https://github.com/vlang/vtl/issues/41 ) Windows crash |
97+ | P1 | CI strategy for full ` nn_cifar10 ` (compile memory) |
98+ | P1 | Phases 2–4 in ` DEVICE_MEMORY.md ` |
99+ | P2 | Vulkan wired into training (not only smoke example) |
100+ | P2 | [ #63 ] ( https://github.com/vlang/vtl/issues/63 ) ARM GPU |
101+
102+ ** Project board:** [ vlang org project #8 ] ( https://github.com/orgs/vlang/projects/8 )
80103
81104---
82105
83- ## 🧩 Existing Open Issues (VTL)
106+ ## 🧩 Open issues (VTL)
84107
85108| # | Title | Priority | Notes |
86109| ---| -------| ----------| -------|
87- | [ #64 ] ( https://github.com/vlang/vtl/issues/64 ) | Phase 7+: Performance Engineering | 🔴 High | Kernel fusion, mixed precision |
88- | [ #63 ] ( https://github.com/vlang/vtl/issues/63 ) | Phase 6: ARM GPU Support | 🟢 Done | |
89- | [ #62 ] ( https://github.com/vlang/vtl/issues/62 ) | Phase 5: OpenCL Backend | 🟢 Done | |
90- | [ #61 ] ( https://github.com/vlang/vtl/issues/61 ) | Phase 4: GPU Autograd | 🟢 Done | |
91- | [ #60 ] ( https://github.com/vlang/vtl/issues/60 ) | Phase 3: VSL Integration + CUDA | 🟢 Done | |
92- | [ #59 ] ( https://github.com/vlang/vtl/issues/59 ) | Phase 2: Forward Pass on GPU | 🟢 Done | |
93- | [ #58 ] ( https://github.com/vlang/vtl/issues/58 ) | Phase 1: Vulkan Compute Foundation | 🟢 Done | |
94- | [ #89 ] ( https://github.com/vlang/vtl/issues/89 ) | Wire LinearLayer to CUDA | 🟢 Done | #93 |
95- | [ #90 ] ( https://github.com/vlang/vtl/issues/90 ) | Wire Conv2D to vsl.cuda | 🟢 Done | #93 |
96- | [ #91 ] ( https://github.com/vlang/vtl/issues/91 ) | Device-resident autograd | 🟢 Done | #93 |
97- | [ #88 ] ( https://github.com/vlang/vtl/issues/88 ) | vs NumPy benchmarks | 🟢 Done | #94 |
98- | [ #87 ] ( https://github.com/vlang/vtl/issues/87 ) | Checkpointing in CIFAR | 🟢 Done | #95 |
99- | [ #52 ] ( https://github.com/vlang/vtl/issues/52 ) | Tracel-AI/Burn reference | 🟢 Research | |
100- | [ #43 ] ( https://github.com/vlang/vtl/issues/43 ) | ` stats.to_array ` performance fix | 🔴 High | Prevent allocation overhead |
101- | [ #40 ] ( https://github.com/vlang/vtl/issues/40 ) | YOLO for autograd gates | 🟡 Medium | Loop-once pattern for gates |
102- | [ #39 ] ( https://github.com/vlang/vtl/issues/39 ) | Remove continue-on-error in v fmt | 🔴 High | |
103- | [ #30 ] ( https://github.com/vlang/vtl/issues/30 ) | Add ` vsl.plot ` examples | 🟡 Medium | |
104- | [ #29 ] ( https://github.com/vlang/vtl/issues/29 ) | Improve VTL tutorial | 🟡 Medium | |
105- | [ #28 ] ( https://github.com/vlang/vtl/issues/28 ) | Add ML metrics examples | 🟡 Medium | |
106- | [ #27 ] ( https://github.com/vlang/vtl/issues/27 ) | Add more datasets | 🟡 Medium | CIFAR-10 done; MNIST, ImageNet pending |
107- | [ #26 ] ( https://github.com/vlang/vtl/issues/26 ) | Add more examples | 🟡 Medium | |
108- | [ #25 ] ( https://github.com/vlang/vtl/issues/25 ) | autograd: register inconsistency | 🟡 Medium | |
109- | [ #23 ] ( https://github.com/vlang/vtl/issues/23 ) | datasets example compile error | 🔴 High | Fixed |
110+ | [ #41 ] ( https://github.com/vlang/vtl/issues/41 ) | Windows example crash | 🔴 P1 | |
111+ | [ #63 ] ( https://github.com/vlang/vtl/issues/63 ) | ARM GPU support | 🟡 P2 | Open |
112+ | [ #43 ] ( https://github.com/vlang/vtl/issues/43 ) | ` stats.to_array ` performance | 🟡 Medium | |
113+ | [ #40 ] ( https://github.com/vlang/vtl/issues/40 ) | YOLO for autograd gates | 🟡 Medium | |
114+ | [ #52 ] ( https://github.com/vlang/vtl/issues/52 ) | Tracel-AI/Burn reference | Research | |
115+
116+ ** Closed ML epics:** #58 –#64 , #86 –#91 — see [ ML_ROADMAP.md] ( docs/ML_ROADMAP.md ) .
110117
111118---
112119
115122| Dependency | Repo | Status |
116123| ------------| ------| --------|
117124| VSL LA ops (matmul, conv2d, solve, etc.) | [ vlang/vsl] ( https://github.com/vlang/vsl ) | ✅ Done |
118- | VSL CUDA backend (` vsl/cuda ` ) | [ vlang/vsl] ( https://github.com/vlang/vsl ) | ✅ Phase B done |
119- | VSL Vulkan backend ( ` vsl/vulkan ` ) | [ vlang/vsl] ( https://github.com/vlang/vsl ) | 🔴 Phase A in progress |
120- | VSL OpenCL backend (VCL) | [ vlang/vsl] ( https://github.com/vlang/vsl ) | 🟡 VCL integrated |
121- | Benchmark harness | [ vlang/vtl] ( https://github.com/vlang/vtl ) | 🔴 Not started |
125+ | VSL CUDA (` vsl/cuda ` , cuBLAS/cuDNN ) | [ vlang/vsl] ( https://github.com/vlang/vsl ) | ✅ # 280 |
126+ | VSL Vulkan compute | [ vlang/vsl] ( https://github.com/vlang/vsl ) | ✅ # 283 – # 284 |
127+ | VSL OpenCL (VCL) | [ vlang/vsl] ( https://github.com/vlang/vsl ) | ✅ Integrated |
128+ | vs NumPy / PR benchmarks | [ vlang/vtl] ( https://github.com/vlang/vtl ) | ✅ # 88 , workflow |
122129
123130---
124131
@@ -167,6 +174,9 @@ vtl/examples/
167174├── nn_cifar10_safe/ # Safe defaults, CI-friendly
168175├── nn_cifar10_tiny/ # Real data subset (64 train, 16 test)
169176├── nn_cifar10_tiny_synth/# Synthetic data, no I/O
177+ ├── nn_cifar10_cuda/ # CUDA smoke (opt-in)
178+ ├── nn_cifar10_vulkan/ # Vulkan GEMM smoke (opt-in)
179+ ├── nn_mnist/ # MNIST example
170180├── nn_xor/ # XOR training example
171181├── nn_regression_sine/ # Sine regression
172182├── nn_multiclass_iris/ # Iris multi-class
@@ -190,10 +200,10 @@ vtl/
190200│ └── cifar10.v # CIFAR-10 loader with subset support
191201├── autograd/
192202│ └── gates/ # Autograd gate implementations
193- ├── benchmarks/ # (TODO) VTL vs NumPy benchmarks
194- └── docs/ # Tutorials
203+ ├── benchmarks/vs_numpy/ # matmul, conv2d, autograd_bench
204+ └── docs/ # Tutorials + ML_ROADMAP
195205```
196206
197207---
198208
199- * Last updated: 2026-05-26 *
209+ * Last updated: 2026-05-31 * · Board: [ project # 8 ] ( https://github.com/orgs/vlang/projects/8 )
0 commit comments