Troels Henriksen

Results 111 issues of Troels Henriksen

Right now, the TAIL compiler will give a type error if the last expression is not a scalar of type double. This makes it awkward to write some programs -...

This adds support for GHC 9.4, where ST is no longer an instance of MonadFail. The two instances of GraphM that are predefined in fgl are ST and IO, and...

`fgl` fails to compile with GHC 9.4 because `ST` is no longer an instance of MonadFail: https://github.com/haskell/core-libraries-committee/issues/33 I am trying to work out the best way to fix it. One...

I have a Haskell program that I would like to build statically with Nix. [I currently link with glibc](https://github.com/diku-dk/futhark/blob/master/default.nix), which has the usual problems, so I'm quite interested in linking...

I'm getting this error on Oclgrind 21.10 with rather simple kernels, e.g. this one: ``` __kernel void mainzisegred_nonseg_6074(int n_6034, int num_threads_6087, __global int *segred_tmp_mem_6085) { int global_tid_6088 = get_global_id(0); int...

When generating Python fragments, it would be nice to be able to use [quasiquotation](http://www.haskell.org/haskellwiki/Quasiquotation). The [language-c-quote](http://hackage.haskell.org/package/language-c-quote) is very nice to use for generating C, for example.

I have a program where at some point [this line](https://github.com/jansel/opentuner/blob/master/opentuner/search/manipulator.py#L782) is reached with (for example) v=71 and self.min_value=8192. This produces a negative argument to `math.log`, and then boom. This occurs...

I am following the [OpenTuner tutorial](http://opentuner.org/tutorial/gettingstarted/), and have installed OpenTuner 0.8 via `pip`. When I try to run the tutorial example, I encounter two errors. First, the following line fails...

@melsman and I have been talking about handling APL's peculiar shape algebra in a way that is independent of Futhark's semantics for array sizes. This is currently handled by `tail2futhark`...

This means that ProgramStatements now refer to the file they actually occur in, like is the case for the original SourceLine. This is used for various diagnostics messages. Fixes #160.