Changes in / [56fc97a:f173599] in sasmodels
- Files:
-
- 6 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CylinderModel.py
r32c160a ra1542aae 5 5 """ 6 6 from sasmodels.sasview_model import make_class 7 from sasmodels.models import cylinder _clone as cylinder7 from sasmodels.models import cylinder 8 8 CylinderModel = make_class(cylinder, dtype='single') -
compare.py
r373d1b6 r373d1b6 10 10 11 11 from sasmodels.bumps_model import BumpsModel, plot_data, tic 12 from sasmodels import kernelcl, kerneldll 12 try: from sasmodels import kernelcl 13 except: from sasmodels import kerneldll as kernelcl 14 from sasmodels import kerneldll 13 15 from sasmodels.convert import revert_model 14 16 -
sasmodels/kernelcl.py
r250fa25 r87fce00 30 30 try: 31 31 import pyopencl as cl 32 except ImportError,exc:32 except RuntimeError,exc: 33 33 warnings.warn(str(exc)) 34 34 raise RuntimeError("OpenCL not available") -
sasmodels/kerneldll.py
rf786ff3 r87fce00 23 23 # Can't find VCOMP90.DLL (don't know why), so remove openmp support from windows compiler build 24 24 #COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s" 25 COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /openmp /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s"26 #COMPILE = "gcc -shared -fPIC -std=c99 -fopenmp -O2 -Wall %(source)s -o %(output)s -lm"25 #COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /openmp /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s" 26 COMPILE = "gcc -shared -fPIC -std=c99 -fopenmp -O2 -Wall %(source)s -o %(output)s -lm" 27 27 else: 28 28 COMPILE = "cc -shared -fPIC -std=c99 -fopenmp -O2 -Wall %(source)s -o %(output)s -lm"
Note: See TracChangeset
for help on using the changeset viewer.