Changeset e1d6983 in sasmodels


Ignore:
Timestamp:
Aug 4, 2016 3:56:16 PM (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:
bd49c79
Parents:
38ce0ab
Message:

note in comments that cephes erf is faster on all current platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel_header.c

    r38ce0ab re1d6983  
    1414#    define SINCOS(angle,svar,cvar) do {const double _t_=angle; svar=sin(_t_);cvar=cos(_t_);} while (0) 
    1515#  endif 
    16    // Intel CPU on Mac gives strange values for erf(), so maybe don't use it 
     16   // Intel CPU on Mac gives strange values for erf(); also on the tested 
     17   // platforms (intel, nvidia, amd), the cephes erf() is significantly 
     18   // faster than that available in the native OpenCL. 
    1719   #define NEED_ERF 
    1820   // OpenCL only has type generic math 
Note: See TracChangeset for help on using the changeset viewer.