Tools that honor the Processor Type environment setting allow you to choose where and how you want to process your data.
You can process your data using the computer central processing unit (CPU) or the graphics processing unit (GPU).
GPUs are effective at graphics and image processing, where their highly parallel structure makes them efficient in processing large blocks of data in a repetitive manner. This processing occurs locally.
CPU processing, which is generally located on the frame buffer of the display, can be parallelized across multiple cores and instances, as handled by the Parallel Processing Factor environment setting.
- A graphics card can support multiple GPUs.
- A CPU supports multiple processing cores, and processing can be deployed across multiple machines.
- Geoprocessing tools will only process data on the GPU if GPU is selected. Otherwise data is processed using the CPU.
- Processor type—Choose which processor type you want to deploy from the drop-down menu.
- Empty—A geoprocessing tool interprets no value as having no restrictions. No restrictions means there is no override of a potential default setting in the underlying layers. This is the default.
- CPU—Data will be processed using the computer's CPU.
- GPU—Data will processed using the GPU. If GPU is selected, the applicable geoprocessing tools will disable Parallel Processing Factor to ensure there is only one instance on the GPU.
arcpy.env.processorType = processor_type
The type of processor to be used:
import arcpy # Set the processor type environment to GPU. arcpy.env.processorType = "GPU"