Tony Rogvall

Results 25 comments of Tony Rogvall

Hi! Thanks for the reports. I have no clue on why this is crashing. I will do some testing on Linux soon. My main platform is a mac. But I...

Since I am developing for multiple versions and releases I tend to compile for both 32- and 64- bit (debug/release) at the same to save some time. I guess I...

I have made a major cleanup. But not yet in master. You will find the result in branch 'dev'. It should compile with and without rebar. I removed a lot...

Nice. Thanks. I guess some filtering is needed in cl_basic / get_device_info when an info item is not supported in the driver. and Maybe you do not have a cpu...

Ok, I found it. A bit too much device_info for openCL 1.0. At least it works on my Linux machines right now.

Or what do cl:versions() return on your machine?

strange, the versions says {1,0} only but the platform is {1,2} could you please try to pull the dev branch again an rebuild ? I think that cl_test:test() is trying...

If I remember correctly there is a bit of scheduling overhead involved with dirty nifs? What about a selective approach for nifs that are problematic? ( Or are the majority...

I could wrap the nif table entries with something like: //------------------------------- #if (ERL_NIF_MAJOR_VERSION > 2) || ((ERL_NIF_MAJOR_VERSION == 2) && (ERL_NIF_MINOR_VERSION >= 12)) //#define NIF_FUNC(name,arity,fptr) {(name),(arity),(fptr),(ERL_NIF_DIRTY_JOB_CPU_BOUND)} #define NIF_FUNC(name,arity,fptr) {(name),(arity),(fptr),(0)} #elif...