mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: m/mumax/mumax-3.10beta-CUDA-10.2.89.eb new file: m/mumax/mumax-3.9.3-CUDA-10.2.89.eb new file: m/mumax/mumax-go.patch new file: m/mumax/mumax-new-cuda.patch modified: p/Py/Py-2.7.eb new file: p/Python/Python-system.eb new file: r/rpmrebuild/rpmrebuild-2.14.eb new file: w/wheel/wheel-0.33.4-Py-system.eb
12 lines
535 B
Diff
12 lines
535 B
Diff
--- 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)
|
|
}
|