示例#1
0
文件: customfield.go 项目: jsampaio/3
func divN1(dst, a, b *data.Slice) {
	util.Assert(dst.NComp() == a.NComp())
	util.Assert(b.NComp() == 1)
	for c := 0; c < dst.NComp(); c++ {
		cuda.Div(dst.Comp(c), a.Comp(c), b)
	}
}
示例#2
0
文件: customfield.go 项目: jsampaio/3
func divNN(dst, a, b *data.Slice) {
	cuda.Div(dst, a, b)
}