Changeset ba32cdd in sasmodels for sasmodels/kernelcl.py
- Timestamp:
- Mar 24, 2016 6:36:40 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:
- 5ff1b03
- Parents:
- 151f3bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernelcl.py
rfec69dd rba32cdd 48 48 harmless, albeit annoying. 49 49 """ 50 from __future__ import print_function 50 51 import os 51 52 import warnings … … 169 170 options = (get_fast_inaccurate_build_options(context.devices[0]) 170 171 if fast else []) 171 source = "\n".join(source )172 source = "\n".join(source_list) 172 173 program = cl.Program(context, source).build(options=options) 173 174 return program … … 439 440 """ 440 441 def __init__(self, kernel, model_info, q_vectors, dtype): 441 max_pd = self.info['max_pd']442 max_pd = model_info['max_pd'] 442 443 npars = len(model_info['parameters'])-2 443 444 q_input = GpuInput(q_vectors, dtype)
Note: See TracChangeset
for help on using the changeset viewer.