- Timestamp:
- Sep 28, 2017 2:38:48 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 505d0ad
- Parents:
- 3048ec6
- Location:
- doc/guide
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/guide/gpu_setup.rst
rc0d7ab3 r59485a4 4 4 GPU Setup 5 5 ******************** 6 7 SAS model evaluations can run on your graphics card (GPU) or they can run 8 on the processor (CPU). In general, calculations performed on the GPU 9 will run faster. 10 6 11 7 12 OpenCL Installation … … 74 79 ************* 75 80 76 SAS model evaluations can run on your graphics card (GPU) or they can run 77 on the processor (CPU). In general, calculations performed on the GPU will run faster. 78 79 To run on the GPU, your computer must have OpenCL drivers installed. 80 For information about OpenCL installation see this 81 :ref:`opencl-installation` guidance. 82 83 Where the model is evaluated is a little bit complicated. 81 The logic for choosing the compute platform is a little bit complicated. 84 82 If the model has the line *single=False* then it requires double precision. 85 83 If the GPU is single precision only, then it will try running via OpenCL … … 88 86 89 87 For models with a large number of parameters or with a lot of code, 90 the GPU may be too small to run the program effectively. 91 In this case, you should try simplifying the model, maybe breaking it 92 into several different modules so that you don't need *IF* statements in your code. 93 If it is still too big, you can set *opencl=False* in the model file and 94 the model will only run as a normal program on the CPU. 95 This will not usually be necessary. 88 the GPU may be too small to run the program effectively. In this case, you 89 should try simplifying the model, maybe breaking it into several different 90 models so that you don't need *IF* statements in your code. If it is still 91 too big, you can set *opencl=False* in the model file and the model will 92 only run as a normal program on the CPU. This will not usually be necessary. 96 93 97 94 Device Selection -
doc/guide/magnetism/magnetism.rst
r64eecf7 r59485a4 87 87 The values of the 'Up_frac_i' and 'Up_frac_f' must be in the range 0 to 1. 88 88 89 .. note:: 90 This help document was last changed by Steve King, 02May2015 89 *Document History* 91 90 92 * Document History * 93 91 | 2015-05-02 Steve King 94 92 | 2017-05-08 Paul Kienzle
Note: See TracChangeset
for help on using the changeset viewer.