Commits on Mar 14, 2011
  1. @dgud @dgud
  2. @dgud

    Update vsn.mk and added a msvc++ proj and fixed issue with function c…

    …alls
    
    make MCL=true to build with Microsofts tools instead of gcc
    dgud committed Mar 3, 2011
  3. @dgud

    Supply senders env in enif_send if done by a scheduler thread

    Env must be present when invoking enif_send from a scheduler thread.
    
    Some workarounds for things that have changed in the nif implemenation.
    It might be a good idea to keep the 'extra' functionality
    in the helper library 'clu', and keep 'cl' as close to the spec as
    possible.
    
    Minor Mac Makefile fixes
    
    I messed up when converting to windows cl compiler
    And cc_subdiv now compiles on mac, the display isn't that great on these
    drivers I have on my mac-mini.  Everything is blended for some reason
    dgud committed Feb 14, 2011
  4. @dgud

    On windows buf in 'make_object_info2' can not be stack allocated

    For some strange reason the stack get trashed otherwise, stack is to small?
    dgud committed Feb 14, 2011
  5. @dgud

    Added an OpenCL/OpenGL example

    A simple one, which can be extended and used for testing
    opencl opengl integration when it get's implemented.
    dgud committed Feb 9, 2011
  6. @dgud

    Compiles on windows

    It crashed on windows so I had to debug it, and to be able to debug
    it I had make it work with microsofts compiler, this is using the
    free Microsoft Visual C++ 2010 Express.
    
    The main fix in this commit is a missing CL_CALLBACK.
    
    I couldn't quite get the microsoft compiler to work, the returned
    information from 'cl_basic' is wrong so it's disabled for now.
    
    To make it compile with cl.exe I had to move unused parameters to
    after the variable declartions.
    On windows using long is not such great idea since it will be
    32 bits even on 64 bits compilations when that day arrives.
    Here size_t and unsigned long is mixed that will work as long as
    long and size_t is the same size, I don't know if that is true for
    windows64. (mingw-gcc 4.4.0 warns a lot when compiling)
    dgud committed Feb 6, 2011
Commits on Dec 28, 2010
  1. an other small test

    committed Dec 28, 2010
Commits on Dec 14, 2010
  1. @quentusrex
Commits on Dec 2, 2010
  1. @quentusrex
  2. @quentusrex
  3. @quentusrex
  4. @quentusrex
  5. @quentusrex
  6. @quentusrex
Commits on Sep 22, 2010
  1. @dgud

    Windows gcc-4.4.0 -O is broken.

    Remove optimizations for mingw-gcc-4.4.0
    dgud committed with Sep 20, 2010
  2. @dgud

    Fixed Windows build and instructions for windows.

    This crashes in GET_EVENT_INFO: when running cl_basic:test().
    dgud committed with Sep 16, 2010
  3. @dgud
  4. Some more fixed for mul example

    committed Sep 22, 2010
  5. Change put_object to return {object,0,0} when obj=0,

    this was triggered on windows and is due to a nvidia bug.
    
    Added argument type tests for all cl objects in cl.erl.
    
    Fixed some bugs in mul4x4, but still does not work.
    It works on gpu (apple, nvidia geforce 9400M)
    It crash on cpu
    committed Sep 22, 2010
Commits on Sep 3, 2010
  1. @dgud

    Check error in set_kernel_args

    dgud committed with Jul 13, 2010
Commits on Jul 10, 2010
Commits on Jul 8, 2010
  1. changed all pointers and size_t to 64 bit erlang side, according to s…

    …pec by dangud, needed to update set_kernel_arg with some cases to make it work
    committed Jul 9, 2010
  2. use of ECL_USE_ASYNC (default), replaces the thread loop, started som…

    …e nif exeriment (far from done)
    committed Jul 8, 2010
Commits on Jun 17, 2010
  1. @dgud

    Improved the building on 32 bits systems

    If someone can makes this better it would great,
    but now I can run make directly.
    dgud committed with Jun 17, 2010
  2. @dgud

    Fixed clu:setup/1 to search after specified device type.

    Removed some debug printouts and fixed a crashing example.
    dgud committed with Jun 17, 2010
  3. @dgud

    Fixed 64 bits on 32 bit os problems.

    Got problems when I added ati opencl driver for intel on linux.
    The object id's are larger than 31 bits and that exposed some bugs.
    
    uint64 BIG_NUMS are 11 bytes and little-endian.
    dgud committed with Jun 17, 2010
Commits on Nov 28, 2009
  1. @dgud

    Added basic documentation.

    The module cl.erl gets awfully cluttered but we get documentation for
    OpenCL.
    Mostly a copy of the official documentation, more fixes is needed.
    dgud committed with Nov 25, 2009
Commits on Nov 24, 2009
  1. ignore more

    committed Nov 24, 2009
  2. @dgud
  3. @dgud

    Fixed building on linux.

    Added a DARWIN macro so the includes are correct for linux and
    added a all32 target so it builds cleanly on all (my 32 bit) platforms.
    Maybe the all32 so should be the default?
    Also added a .gitignore file to ignore building derivates.
    dgud committed Nov 24, 2009
  4. examples directory

    committed Nov 24, 2009
Commits on Nov 23, 2009
  1. initial add

    committed Nov 24, 2009
Commits on Nov 13, 2009
  1. first commit

    committed Nov 13, 2009