Changeset 5d316e9 in sasmodels for sasmodels/compare_many.py


Ignore:
Timestamp:
Dec 8, 2015 8:08: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:
cf404cb
Parents:
eaca9eb
Message:

support fast and loose single precision and half precision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare_many.py

    r9404dd3 r5d316e9  
    8787            single_value = value  # remember for single/double comparison 
    8888        elif precision == 'double': 
    89             if environment().has_double: 
     89            if environment().has_type('double'): 
    9090                label = 'GPU double' 
    9191                value = try_model(eval_opencl, dtype='double', cutoff=cutoff) 
Note: See TracChangeset for help on using the changeset viewer.