HALCON Reference Manual 10.0.2
Name
open_compute_deviceopen_compute_deviceopen_compute_deviceOpenComputeDeviceOpenComputeDevice — Open a compute device.
open_compute_deviceopen_compute_deviceopen_compute_deviceOpenComputeDeviceOpenComputeDevice opens the compute device referenced by
DeviceIdentifierDeviceIdentifierDeviceIdentifierDeviceIdentifierdeviceIdentifier and
returns DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle. Enable computation on
DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle via activate_compute_deviceactivate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDevice.
DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle must be obtained by
query_available_compute_devicesquery_available_compute_devicesquery_available_compute_devicesQueryAvailableComputeDevicesQueryAvailableComputeDevices.
- 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.
Compute device Identifier.
open_compute_deviceopen_compute_deviceopen_compute_deviceOpenComputeDeviceOpenComputeDevice returns the value
2 (H_MSG_TRUE) if DeviceIdentifierDeviceIdentifierDeviceIdentifierDeviceIdentifierdeviceIdentifier is valid. Otherwise
an exception will be raised.
query_available_compute_devicesquery_available_compute_devicesquery_available_compute_devicesQueryAvailableComputeDevicesQueryAvailableComputeDevices
activate_compute_deviceactivate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDevice,
init_compute_deviceinit_compute_deviceinit_compute_deviceInitComputeDeviceInitComputeDevice
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |