diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,5 @@
 # Changelog for futhask
 ## 1.1.0
 fix bugs in sum type handling
+## 1.1.1
+fix num_groups context option
diff --git a/app/Main.hs b/app/Main.hs
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -81,8 +81,8 @@
     T.writeFile (natdir <> "Types.hs") $ nativeTypes
     T.writeFile (unpdir <> "Types.hs") $ unpackedTypes
     where
-        futhaskVersion = "1.1.0.0"
-        futhaskBaseVersion = "0.2.0.0"
+        futhaskVersion = "1.1.1.0"
+        futhaskBaseVersion = "0.2.1.0"
         --name = "testlib"
         --libver = "0.1"
         --pacdir = "../testlibrary/"
diff --git a/futhask.cabal b/futhask.cabal
--- a/futhask.cabal
+++ b/futhask.cabal
@@ -1,7 +1,7 @@
 cabal-version: 1.12
 
 name:           futhask
-version:        1.1.0
+version:        1.1.1
 synopsis:       Generate Haskell wrappers for Futhark libraries
 description:    Please see the README on GitLab at <https://gitlab.com/Gusten_Isfeldt/futhask#futhask>
 category:       FFI Tools
diff --git a/src/Context.hs b/src/Context.hs
--- a/src/Context.hs
+++ b/src/Context.hs
@@ -34,7 +34,7 @@
             </> cFFICall "config_set_default_group_size" "futhark_context_config_set_default_group_size" [config, int] empty
             </> cFFICall "config_set_default_grid_size" "futhark_context_config_set_default_grid_size" [config, int] empty
 
-            </> cFFICall "config_set_default_group_num" "futhark_context_config_set_default_group_num" [config, int] empty
+            </> cFFICall "config_set_default_num_groups" "futhark_context_config_set_default_num_groups" [config, int] empty
 
             </> cFFICall "config_set_default_tile_size" "futhark_context_config_set_default_tile_size" [config, int] empty
 
@@ -92,6 +92,7 @@
     </~> "setDefaultThreadBlockSize" <=> (if gpu then raw "config_set_default_thread_block_size" else nothing)
     </~> "setDefaultGridSize" <=> (if gpu then raw "config_set_default_grid_size" else nothing)
     </~> "setDefaultTileSize" <=> (if gpu then raw "config_set_default_tile_size" else nothing)
+    </~> "setDefaultNumGroups" <=> (if gpu then raw "config_set_default_num_groups" else nothing)
     </~> "setPlatform" <=> (if opencl then raw "config_set_platform" else nothing)
     </~> "setBuildOption" <=> (if opencl then raw "config_set_build_option" else nothing)
     </~> "setNvrtcOption" <=> (if cuda then raw "config_set_nvrtc_option" else nothing)
