Changeset 38ce0ab in sasmodels
- Timestamp:
- Aug 4, 2016 12:21:02 PM (8 years ago)
- 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:
- e1d6983
- Parents:
- b3796fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernel_header.c
rb3796fa r38ce0ab 14 14 # define SINCOS(angle,svar,cvar) do {const double _t_=angle; svar=sin(_t_);cvar=cos(_t_);} while (0) 15 15 # endif 16 // Intel CPU on Mac gives strange values for erf(), so maybe don't use it 17 #define NEED_ERF 16 18 // OpenCL only has type generic math 17 19 #define expf exp 18 # define erff erf19 # define erfcf erfc20 // Intel CPU on Mac gives strange values for erf(), so maybe don't use it21 //#define NEED_ERF20 #ifndef NEED_ERF 21 # define erff erf 22 # define erfcf erfc 23 #endif 22 24 #else // !USE_OPENCL 23 25 // Use SAS_DOUBLE to force the use of double even for float kernels
Note: See TracChangeset
for help on using the changeset viewer.