A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://arrayfire.org/arrayfire-python/arrayfire.cuda.html below:

arrayfire.cuda module — ArrayFire Python documentation

arrayfire.cuda module

Functions specific to CUDA backend.

This module provides interoperability with other CUDA libraries.

arrayfire.cuda.get_native_id(idx)[source]

Get native (unsorted) CUDA device ID

Parameters
idxint.

Specifies the (sorted) index of the device.

Returns
native_idxinteger denoting the native cuda id.
arrayfire.cuda.get_stream(idx)[source]

Get the CUDA stream used for the device idx by ArrayFire.

Parameters
idxint.

Specifies the index of the device.

Returns
streaminteger denoting the stream id.
arrayfire.cuda.set_native_id(idx)[source]

Set native (unsorted) CUDA device ID

Parameters
idxint.

Specifies the (unsorted) native index of the device.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4