1. 28 Jul, 2014 1 commit
  2. 26 Jul, 2014 1 commit
  3. 29 Jun, 2014 1 commit
  4. 21 Jun, 2014 1 commit
  5. 16 Jun, 2014 1 commit
  6. 02 Jun, 2014 1 commit
  7. 09 May, 2014 1 commit
  8. 08 May, 2014 1 commit
  9. 02 May, 2014 1 commit
  10. 18 Mar, 2014 1 commit
  11. 11 Mar, 2014 1 commit
  12. 22 Feb, 2014 1 commit
    • loring's avatar
      libsim safe zero copy data transfer and numpy support : · 12614635
      loring authored
      if numpy is found during configure then libsim may be passed
      numpy arrays directly. zero-copy transfer are supported via
      numpy c-api. a new ownership type is introduced to support
      safe zero-copy transfer of data to vtk data arrays. when this
      ownership is requested a custom (potentially user provided)
      callback is invoked by an internally arranged observer of vtk
      data array delete event. the callback should free the memory.
      this mechanism can be used in any zero-copy transfer through
      libsim where c's free is not the correct function to free the
      transfered memory, in the case of python and numpy, we make
      use of python's ref counting to ensure the numpy object is not
      destroyed until the vtk array is deleted. the numpy object's
      ref count incremented (by libsim) as its passed in, libsim
      provides a callback which decrements the object's ref count
      when the vtk data array is deleted. aside from having to pass
      the new ownership flag, this all happens transparently to the
      user as it is implemented in libsim's python swig customizations.
      If this were to be used in other situations, eg FORTRAN, the user
      would be extected to provide the memory management callback.
      
      
      
      git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@22880 18c085ea-50e0-402c-830e-de6fd14e8384
      12614635
  13. 20 Feb, 2014 1 commit
  14. 23 Jan, 2014 1 commit
  15. 14 Jan, 2014 1 commit
  16. 13 Jan, 2014 1 commit
  17. 09 Jan, 2014 1 commit
  18. 08 Jan, 2014 1 commit
  19. 18 Dec, 2013 1 commit
  20. 17 Dec, 2013 1 commit
  21. 06 Dec, 2013 1 commit
  22. 21 Nov, 2013 1 commit
  23. 29 Oct, 2013 2 commits
  24. 22 Oct, 2013 1 commit
  25. 17 Oct, 2013 1 commit
  26. 01 Oct, 2013 1 commit
  27. 13 Sep, 2013 1 commit
  28. 04 Sep, 2013 1 commit
  29. 03 Sep, 2013 1 commit
  30. 30 Aug, 2013 1 commit
  31. 09 Aug, 2013 1 commit
  32. 16 Jul, 2013 1 commit
  33. 05 Jun, 2013 1 commit
  34. 03 Jun, 2013 2 commits
  35. 23 May, 2013 1 commit
  36. 21 May, 2013 1 commit
  37. 17 May, 2013 1 commit
  38. 09 May, 2013 1 commit