Set the current backend when using Unified backend More...
Functions | |
af_err | af_set_backend (const af_backend bknd) |
void | setBackend (const Backend bknd) |
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.
af_err af_set_backend | ( | const af_backend | bknd | ) |
[in] | bknd | takes one of the values of enum af_backend |
void setBackend | ( | const Backend | bknd | ) |
[in] | bknd | takes one of the values of enum af_backend |