Changes between Initial Version and Version 1 of Ticket #576, comment 4


Ignore:
Timestamp:
Sep 4, 2016 8:05:32 PM (8 years ago)
Author:
butler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #576, comment 4

    initial v1  
    11OpenCL fixed, DLL fails. 
    22 
    3 To get the DLL to work, first remove the frozen check in sasmodels.kerneldll.make_dll, then restructure the DllKernel so that it doesn't hold any references to the DLL. 
     3To get the DLL to work, first remove the frozen check in sasmodels.kerneldll.make_dll, then restructure the !DllKernel so that it doesn't hold any references to the DLL. 
    44 
    55Follow the instructions to reproduce above, but with sasmodels.core.HAVE_OPENCL=False. 
    66 
    7 We can do this by wrapping the ct.CDLL in a class with methods for the different kernels.  Instead of calling the kernels directly, calls from DllKernel will go through this object.  DllModel may be could do this if we can guarantee there is only ever one DllModel instance for a particular dll, for example, by caching DllModel within load_dll().  Then its internal dll can be released, recompiled and reloaded with any attached kernels automatically updated. 
     7We can do this by wrapping the ct.CDLL in a class with methods for the different kernels.  Instead of calling the kernels directly, calls from !DllKernel will go through this object.  !DllModel may be could do this if we can guarantee there is only ever one !DllModel instance for a particular dll, for example, by caching !DllModel within load_dll().  Then its internal dll can be released, recompiled and reloaded with any attached kernels automatically updated.