--- src/github.com/mumax/3/cuda/curand/generator.go.orig 2020-02-17 08:51:14.588086649 +0100 +++ src/github.com/mumax/3/cuda/curand/generator.go 2020-02-17 08:51:34.021103553 +0100 @@ -43,7 +43,7 @@ } func (g Generator) SetSeed(seed int64) { - err := Status(C.curandSetPseudoRandomGeneratorSeed(C.curandGenerator_t(unsafe.Pointer(uintptr(g))), _Ctype_ulonglong(seed))) + err := Status(C.curandSetPseudoRandomGeneratorSeed(C.curandGenerator_t(unsafe.Pointer(uintptr(g))), C.ulonglong(seed))) if err != SUCCESS { panic(err) }