Name
get_compute_device_paramT_get_compute_device_paramGetComputeDeviceParamGetComputeDeviceParam — Query compute device parameters.
get_compute_device_paramget_compute_device_paramGetComputeDeviceParamGetComputeDeviceParamGetComputeDeviceParam returns parameters of the
compute device DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle for the current HALCON thread.
The following parameters can be queried (for more detailed descriptions
sie set_compute_device_paramset_compute_device_paramSetComputeDeviceParamSetComputeDeviceParamSetComputeDeviceParam):
- 'alloc_pinned'
-
If 'true', the output image matrices of all operators
are created in page locked (so called 'pinned') memory.
- 'asynchronous_execution'
-
If 'true', operators executed on the compute device
do not wait for the device computations to finish but
return after initiation the computations.
- 'buffer_cache_capacity'
-
Maximum size (in bytes) of the compute device buffer cache.
- 'buffer_cache_used'
-
Current size (in bytes) of the compute device buffer cache.
- 'image_cache_capacity'
-
Maximum size (in bytes) of the compute device image cache.
- 'image_cache_used'
-
Current size (in bytes) of the compute device image cache.
- 'pinned_mem_cache_capacity'
-
Maximum size (in bytes) of the page locked (pinned) memory
cache.
- 'pinned_mem_cache_used'
Current size (in bytes) of the page locked (pinned) memory
cache.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
Name of the parameter to query.
Default value:
'buffer_cache_capacity'
"buffer_cache_capacity"
"buffer_cache_capacity"
"buffer_cache_capacity"
"buffer_cache_capacity"
List of values: 'alloc_pinned'"alloc_pinned""alloc_pinned""alloc_pinned""alloc_pinned", 'asynchronous_execution'"asynchronous_execution""asynchronous_execution""asynchronous_execution""asynchronous_execution", 'buffer_cache_capacity'"buffer_cache_capacity""buffer_cache_capacity""buffer_cache_capacity""buffer_cache_capacity", 'buffer_cache_used'"buffer_cache_used""buffer_cache_used""buffer_cache_used""buffer_cache_used", 'image_cache_capacity'"image_cache_capacity""image_cache_capacity""image_cache_capacity""image_cache_capacity", 'image_cache_used'"image_cache_used""image_cache_used""image_cache_used""image_cache_used", 'pinned_mem_cache_capacity'"pinned_mem_cache_capacity""pinned_mem_cache_capacity""pinned_mem_cache_capacity""pinned_mem_cache_capacity", 'pinned_mem_cache_used'"pinned_mem_cache_used""pinned_mem_cache_used""pinned_mem_cache_used""pinned_mem_cache_used"
The operator get_compute_device_paramget_compute_device_paramGetComputeDeviceParamGetComputeDeviceParamGetComputeDeviceParam returns the
value 2 (H_MSG_TRUE) if the parameters are correct. Otherwise
an exception will be raised.
activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDevice
set_compute_device_paramset_compute_device_paramSetComputeDeviceParamSetComputeDeviceParamSetComputeDeviceParam,
get_compute_device_infoget_compute_device_infoGetComputeDeviceInfoGetComputeDeviceInfoGetComputeDeviceInfo
Foundation