futhask 1.1.0 → 1.1.1
raw patch · 4 files changed
+7/−4 lines, 4 files
Files
- ChangeLog.md +2/−0
- app/Main.hs +2/−2
- futhask.cabal +1/−1
- src/Context.hs +2/−1
ChangeLog.md view
@@ -1,3 +1,5 @@ # Changelog for futhask ## 1.1.0 fix bugs in sum type handling+## 1.1.1+fix num_groups context option
app/Main.hs view
@@ -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/"
futhask.cabal view
@@ -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
src/Context.hs view
@@ -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)