Commit 106c6a3
committed
chore(nccl): gate CGo path behind nccl_cgo build tag
Renames the legacy nccl.go to nccl_cgo.go and tightens its build tag to
//go:build cuda && cgo && nccl_cgo so the CGo implementation is OFF by
default. The new purego/dlopen binding in nccl_purego.go is the default
and only path on every supported platform; the CGo file is retained as a
debugging fallback.1 parent 35ea45f commit 106c6a3
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments