Changeset 197e41d in sasmodels


Ignore:
Timestamp:
May 27, 2016 11:04:51 AM (9 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:
aab3d87
Parents:
001d9f5
Message:

improve warning message re: missing OpenCL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernelcl.py

    r33af590 r197e41d  
    5959    cl.create_some_context(interactive=False) 
    6060except Exception as exc: 
    61     warnings.warn(str(exc)) 
     61    warnings.warn("OpenCL startup failed with ***"+str(exc)+"***; using C compiler instead") 
    6262    raise RuntimeError("OpenCL not available") 
    6363 
Note: See TracChangeset for help on using the changeset viewer.