A RetroSearch Logo

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

Search Query:

Showing content from https://arrayfire.org/docs/group__unified__func__setbackend.htm below:

ArrayFire: setBackend

Set the current backend when using Unified backend. More...

Functions AFAPI af_err  af_set_backend (const af_backend bknd)   AFAPI void  setBackend (const Backend bknd)   Detailed Description

Set the current backend when using Unified backend.

This is a noop when using one of CPU, CUDA, or OpenCL backend.

However, when using on of those 3 but trying to set it to a different backend will return in an exception.

Function Documentation ◆ af_set_backend() AFAPI af_err af_set_backend ( const af_backend  bknd )
Parameters
[in] bknd takes one of the values of enum af_backend
Returns
af_err error code
◆ setBackend() AFAPI void setBackend ( const Backend  bknd )
Parameters
[in] bknd takes one of the values of enum af_backend
Examples
unified/basic.cpp.

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