Name
init_compute_deviceT_init_compute_deviceInitComputeDeviceinit_compute_deviceInitComputeDeviceInitComputeDevice — Initialisieren eines Compute Devices.
init_compute_deviceinit_compute_deviceInitComputeDeviceinit_compute_deviceInitComputeDeviceInitComputeDevice initialisiert ein Compute Device und bereitet
eine Liste von Operatoren (OperatorsOperatorsOperatorsOperatorsOperatorsoperators) auf die Ausführung auf dem
Device vor. Außerdem wird das Device implizit für den aktuellen Thread
aktiviert.
Wird init_compute_deviceinit_compute_deviceInitComputeDeviceinit_compute_deviceInitComputeDeviceInitComputeDevice nicht aufgerufen oder werden andere
Operatoren als die in OperatorsOperatorsOperatorsOperatorsOperatorsoperators auf dem Compute Device verwendet,
wird die Initialisierung beim ersten Aufruf des entsprechenden Operators
durchgeführt.
get_operator_infoget_operator_infoGetOperatorInfoget_operator_infoGetOperatorInfoGetOperatorInfo gibt Auskunft darüber ob ein Operator auf
dem Compute Device ausgeführt werden kann.
Die Laufzeit von init_compute_deviceinit_compute_deviceInitComputeDeviceinit_compute_deviceInitComputeDeviceInitComputeDevice hängt von der Anzahl
der Operatoren in OperatorsOperatorsOperatorsOperatorsOperatorsoperators ab und kann mehrere Sekunden
betragen.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: local (kann nur von dem Thread aufgerufen werden, in dem die Fenster-, Modell- oder Tool-Instanz erzeugt wurde).
- Wird ohne Parallelisierung verarbeitet.
Liste der vorzubereitenden Operatoren
Defaultwert:
'all'
"all"
"all"
"all"
"all"
"all"
Werteliste: 'all'"all""all""all""all""all", 'derivate_gauss'"derivate_gauss""derivate_gauss""derivate_gauss""derivate_gauss""derivate_gauss", 'sobel_amp'"sobel_amp""sobel_amp""sobel_amp""sobel_amp""sobel_amp"
Ist die Initialisierung erfolgreich, gibt init_compute_deviceinit_compute_deviceInitComputeDeviceinit_compute_deviceInitComputeDeviceInitComputeDevice
den Wert 2 (H_MSG_TRUE) zurück.
Andernfalls wird eine Fehlerbehandlung durchgeführt.
query_available_compute_devicesquery_available_compute_devicesQueryAvailableComputeDevicesquery_available_compute_devicesQueryAvailableComputeDevicesQueryAvailableComputeDevices,
open_compute_deviceopen_compute_deviceOpenComputeDeviceopen_compute_deviceOpenComputeDeviceOpenComputeDevice
activate_compute_deviceactivate_compute_deviceActivateComputeDeviceactivate_compute_deviceActivateComputeDeviceActivateComputeDevice
Foundation