--- src/github.com/mumax/3/cuda/cufft/mode.go.orig	2020-02-17 08:58:59.089489954 +0100
+++ src/github.com/mumax/3/cuda/cufft/mode.go	2020-02-17 08:59:40.245525688 +0100
@@ -11,10 +11,7 @@
 type CompatibilityMode int
 
 const (
-	COMPATIBILITY_NATIVE          CompatibilityMode = C.CUFFT_COMPATIBILITY_NATIVE
-	COMPATIBILITY_FFTW_PADDING    CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_PADDING
-	COMPATIBILITY_FFTW_ASYMMETRIC CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_ASYMMETRIC
-	COMPATIBILITY_FFTW_ALL        CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_ALL
+        COMPATIBILITY_FFTW_PADDING CompatibilityMode = C.CUFFT_COMPATIBILITY_FFTW_PADDING
 )
 
 func (t CompatibilityMode) String() string {
@@ -25,7 +22,4 @@
 }
 
 var compatibilityModeString map[CompatibilityMode]string = map[CompatibilityMode]string{
-	COMPATIBILITY_NATIVE:          "CUFFT_COMPATIBILITY_NATIVE",
-	COMPATIBILITY_FFTW_PADDING:    "CUFFT_COMPATIBILITY_FFTW_PADDING",
-	COMPATIBILITY_FFTW_ASYMMETRIC: "CUFFT_COMPATIBILITY_FFTW_ASYMMETRIC",
-	COMPATIBILITY_FFTW_ALL:        "CUFFT_COMPATIBILITY_FFTW_ALL"}
+	COMPATIBILITY_FFTW_PADDING: "CUFFT_COMPATIBILITY_FFTW_PADDING"}
