Description Usage Arguments References See Also
Records flags
as the flags to use when initializing the current
device. If no device has been made current to the calling thread
then flags
will be applied to the initialization of any device
initialized by the calling host thread, unless that device has had
its initialization flags set explicitly by this or any host thread.
If the current device has been set and that device has already been
initialized then this call will fail with the error
cudaErrorSetOnActiveProcess
. In this case it is necessary
to reset device
using cudaDeviceReset
() before the device's
initialization flags may be set.
1 | cudaSetDeviceFlags(flags)
|
flags |
Parameters for device operation |
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cudaGetDeviceCount
cudaGetDevice
cudaGetDeviceProperties
cudaSetDevice
cudaSetValidDevices
cudaChooseDevice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.