Changeset f4cf580 in sasmodels for sasmodels/gpu.py
- Timestamp:
- Sep 2, 2014 11:15:40 AM (10 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:
- 87985ca
- Parents:
- 5d4777d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/gpu.py
r5d4777d rf4cf580 22 22 devices, where it can be combined with other structure factors and form 23 23 factors and have instrumental resolution effects applied. 24 25 26 24 """ 27 25 import numpy as np … … 59 57 source, info = gen.make(kernel_module) 60 58 ## for debugging, save source to a .cl file, edit it, and reload as model 61 open(info['name']+'.cl','w').write(source)59 #open(info['name']+'.cl','w').write(source) 62 60 #source = open(info['name']+'.cl','r').read() 63 61 return GpuModel(source, info, dtype)
Note: See TracChangeset
for help on using the changeset viewer.