[erlang-questions] using erlang openCL bindings codebase

Dan Gudmundsson dgud@REDACTED
Thu Jan 17 09:55:30 CET 2013


Yes there is a problem running OpenCL on 64-bit erlang.
Try 32-bits or checkout the latest otp master from github it should be fixed
there.

/Dan

On Thu, Jan 17, 2013 at 2:26 AM, Alex Babkin <ababkin@REDACTED> wrote:
> Hi
>
> I was trying to play around with this code (https://github.com/tonyrog/cl)
> and get it going on my mac (Air, OS X 10.8.2), but wasn't all that
> successful
>
> I have some experience running erlang programs but usually bootstrapped with
> rebar.
>
> I've gotten as far as getting "Trace/BPT trap: 5" as soon as i run some
> examples (and this error doesn't really help/tell me much)
>
> It'd be really great if there would be a step by step instructions on how to
> get the examples running and how to set the system up in general. A lot of
> people use macs for development nowadays, so mac specific instructions and
> gotchas would be great (and i can help with this however i can)
>
> here are the steps i followed:
>
> $mkdir opencl
> $cd opencl
> $git clone git://github.com/tonyrog/cl.git
> $cd cl
> $make
> $cd examples
> $make
> $ cd ../..
> $erl -pa cl/ebin
> Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:4:4] [async-threads:0]
> [hipe] [kernel-poll:false]
>
> Eshell V5.9.3  (abort with ^G)
> 1> cl_bandwidth:test().
> Trace/BPT trap: 5
>
>
> Thanks
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list