cl icon indicating copy to clipboard operation
cl copied to clipboard

OpenCL binding for Erlang

Results 10 cl issues
Sort by recently updated
recently updated
newest added

In the Makefile it sets `-m64`, which is not a valid flag on aarch64 (arm64): https://github.com/tonyrog/cl/blob/e82c6f35a21df8512f6bdf303f6c899afc08c7e1/c_src/Makefile#L72 This flag should be only set on x86_64. Noticed in https://hydra.nixos.org/build/108686242/nixlog/1

ran all tests successfully on macbook air (i7) compiled with R16A now having some issues on the linux system: ubuntu 12.10 with AMD/ATI Radeon HD7750, latest Radeon drivers for linux,...

Opening for a thread of discussion - and willing to make the changes if interested. I'm testing the `cl` module on the following systems: - Linux system running a pair...

The link in the Readme in the line #44 needs to be replaced by the one bellow: https://github.com/tonyrog/cl/blob/9d75a8d85a32868f565979da0f5451cdf582afa3/README#L44 https://sourceforge.net/p/mingw-w64/wiki2/Answer%2064%20bit%20MSVC-generated%20x64%20.lib/

I noticed the project was compiled and the _.beam_ and _.dll_ files generated, but there were warnings that seems to be relevant: ``` micheus@/F/unixlike/src/cl (master)[64b] $ CC=gcc ../rebar3/rebar3 compile ===>...

There are some warnings about enumeration values not handled in switch. And at the end: Makefile:150: recipe for target '../priv/cl_nif.dll' failed

In https://github.com/tonyrog/cl/archive/cl-1.2.1.tar.gz (it can also be present in 1.2 as well, I did not check), the file src/cl.app.src has the statement {vsn, git} rather than {vsn, "1.2.1"}. This results in...

Hey, I get this error with [this line](https://github.com/tonyrog/cl/blob/master/examples/cl_map.erl#L36) set to `all` : ``` Program: __kernel void example(__global float*in,__global float*out,const uint n) { size_t i = get_global_id(0); if (i < n)...

Running `rebar compile` doesn't compile native code in the same way sa `make` does. Running `rebar clean compile` does create `priv/cl_drv.so`, but `cl` app expect it to be under `lib/{release,debug}/{32,64}`....

Running and compiling examples is not very intuitive and error-prone. It might be a good idea to extract them into separate repo, which adds `cl` as a rebar dependency.