Changeset 9ef9dd9 in sasmodels


Ignore:
Timestamp:
Mar 18, 2016 1:21:19 PM (9 years ago)
Author:
jhbakker
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:
a3e0a8b
Parents:
e6b97f5
Message:

don't try to be clever with fp64 pragma

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    r78d3341 r9ef9dd9  
    349349# still compile even if OpenCL is not present. 
    350350_F16_PRAGMA = """\ 
    351 #if defined(__OPENCL_VERSION__) && !defined(cl_khr_fp16) 
     351#if defined(__OPENCL_VERSION__) // && !defined(cl_khr_fp16) 
    352352#  pragma OPENCL EXTENSION cl_khr_fp16: enable 
    353353#endif 
     
    355355 
    356356_F64_PRAGMA = """\ 
    357 #if defined(__OPENCL_VERSION__) && !defined(cl_khr_fp64) 
     357#if defined(__OPENCL_VERSION__) // && !defined(cl_khr_fp64) 
    358358#  pragma OPENCL EXTENSION cl_khr_fp64: enable 
    359359#endif 
Note: See TracChangeset for help on using the changeset viewer.