Start » Filter Reference » System » Configuration » EnableGPUProcessing
Module: | FoundationBasic |
---|
Resumes or suspends GPU OpenCL processing in filters.
Name | Type | Description | |
---|---|---|---|
inEnable | Bool | True to resume, False to suspend GPU processing |
Description
After first execution of InitGPUProcessing processing of filters on OpenCL device is enabled and all OpenCL capable filters are by default always executed on such device. When performance of specific filter instances is not satisfactory processing on OpenCL device can be suspended resulting in execution of a filter back on main CPU.
To suspend OpenCL execution use this filter with inEnable input set to False, placed before problematic filters. OpenCL processing must be always resumed by another instance of this filter with inEnable input set to True placed after problematic filter. OpenCL processing is not resumed automatically, even after starting next iteration or on subsequent execution of InitGPUProcessing.
Executing this filter before previously executed InitGPUProcessing has no effect.
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- InitGPUProcessing – Initializes GPU OpenCL processing.