Changeset e69b36f in sasmodels
- Timestamp:
- Mar 24, 2016 8:08:32 AM (9 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:
- 60eab2a
- Parents:
- 76a9ffe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kerneldll.py
re9b1663d re69b36f 95 95 from os.path import join as joinpath, split as splitpath, splitext 96 96 basename = splitext(splitpath(model_info['filename'])[1])[0] 97 if np.dtype(dtype) == generate.F32: 98 basename += "32" 99 elif np.dtype(dtype) == generate.F64: 100 basename += "64" 101 else: 102 basename += "128" 103 return joinpath(DLL_PATH, basename+'.so') 97 bits = 8*np.dtype(dtype).itemsize 98 return joinpath(DLL_PATH, "sas_%s%d.so"%(basename, bits)) 104 99 105 100
Note: See TracChangeset
for help on using the changeset viewer.