Changeset 6cbdcd4 in sasmodels
- Timestamp:
- Mar 4, 2018 8:39:55 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 1ee5ac6
- Parents:
- d18d6dd
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
r108e70e r6cbdcd4 214 214 215 215 EXTERNAL_DIR = 'sasmodels-data' 216 DATA_PATH = get_data_path(EXTERNAL_DIR, 'kernel_ template.c')216 DATA_PATH = get_data_path(EXTERNAL_DIR, 'kernel_iq.c') 217 217 MODEL_PATH = joinpath(DATA_PATH, 'models') 218 218 … … 389 389 # TODO: fails DRY; templates appear two places. 390 390 model_templates = [joinpath(DATA_PATH, filename) 391 for filename in ('kernel_header.c', 'kernel_iq.c l')]391 for filename in ('kernel_header.c', 'kernel_iq.c')] 392 392 source_files = (model_sources(model_info) 393 393 + model_templates -
sasmodels/kernelcl.py
rb4272a2 r6cbdcd4 208 208 Build a model to run on the gpu. 209 209 210 Returns the compiled program and its type. The returned type will211 be float32 even if the desired type is float64 if any of the 212 devices in the context do not support the cl_khr_fp64 extension.210 Returns the compiled program and its type. 211 212 Raises an error if the desired precision is not available. 213 213 """ 214 214 dtype = np.dtype(dtype)
Note: See TracChangeset
for help on using the changeset viewer.