Name
open_compute_deviceT_open_compute_deviceOpenComputeDeviceOpenComputeDevice — Open a compute device.
open_compute_deviceopen_compute_deviceOpenComputeDeviceOpenComputeDeviceOpenComputeDevice opens the compute device referenced by
DeviceIdentifierDeviceIdentifierDeviceIdentifierDeviceIdentifierdeviceIdentifier and
returns DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle. Enable computation on
DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle via activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDevice.
DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle must be obtained by
query_available_compute_devicesquery_available_compute_devicesQueryAvailableComputeDevicesQueryAvailableComputeDevicesQueryAvailableComputeDevices.
- 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.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Compute device Identifier.
open_compute_deviceopen_compute_deviceOpenComputeDeviceOpenComputeDeviceOpenComputeDevice returns the value
2 (H_MSG_TRUE) if DeviceIdentifierDeviceIdentifierDeviceIdentifierDeviceIdentifierdeviceIdentifier is valid. Otherwise
an exception will be raised.
query_available_compute_devicesquery_available_compute_devicesQueryAvailableComputeDevicesQueryAvailableComputeDevicesQueryAvailableComputeDevices
activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDevice,
init_compute_deviceinit_compute_deviceInitComputeDeviceInitComputeDeviceInitComputeDevice
Foundation