Changeset 40a87fa in sasmodels for sasmodels/kernelcl.py


Ignore:
Timestamp:
Aug 8, 2016 9:24:11 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
2472141
Parents:
2d65d51
Message:

lint and latex cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernelcl.py

    r20317b3 r40a87fa  
    6262    cl.create_some_context(interactive=False) 
    6363except Exception as exc: 
    64     warnings.warn("OpenCL startup failed with ***"+str(exc)+"***; using C compiler instead") 
     64    warnings.warn("OpenCL startup failed with ***" 
     65                  + str(exc) + "***; using C compiler instead") 
    6566    raise RuntimeError("OpenCL not available") 
    6667 
     
    9091 
    9192def fix_pyopencl_include(): 
     93    """ 
     94    Monkey patch pyopencl to allow spaces in include file path. 
     95    """ 
    9296    import pyopencl as cl 
    9397    if hasattr(cl, '_DEFAULT_INCLUDE_OPTIONS'): 
Note: See TracChangeset for help on using the changeset viewer.