BACKEND·중요도 5·2026. 05. 24.·r/MachineLearning

Working on a cgo-free CUDA binding in Go for ML stuff Week 3 - open source [P]

── KO ──────────────────

Go에서 cgo 없이 CUDA 바인딩을 구현하는 초기 단계 프로젝트에 대한 이야기입니다.

이 글은 Go 언어에서 cgo 없이 CUDA 바인딩을 구현하려는 초기 단계의 프로젝트에 대해 다루고 있습니다. Rust에서 좋은 CUDA 드라이버 API 바인딩을 사용하지만, Go에서의 cgo 의존성을 없애고 싶어서 시작했습니다. 프로젝트는 아직 초기 단계이며, 그래프 및 멀티 GPU 지원을 추가하는 작업을 진행 중입니다. CUDA와 Go를 결합하는 것에 대한 학습 경험을 공유하고 있습니다.


── EN ──────────────────

A beginner's project on implementing CUDA bindings in Go without cgo.

This article discusses an early-stage project aimed at implementing CUDA bindings in Go without relying on cgo. While Rust has good CUDA Driver API bindings, the author seeks to avoid cgo in Go to ease cross-compilation. The project is still in its infancy, with ongoing work to add graph and multi-GPU support. It reflects the author's learning journey with CUDA and Go integration.

원문 보기 →목록으로