Set Device

Description

Set device to be used for GPU executions.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

 device : integer, device on which the active host thread should execute the device code.

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).

Documentation illustration (illustration unavailable in the archive).