-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1102 from arrayfire/devel
Release 3.2.0
- Loading branch information
Showing
510 changed files
with
14,524 additions
and
1,703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule assets
updated
10 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/** | ||
\addtogroup arrayfire_func | ||
@{ | ||
|
||
\defgroup unified_func_setbackend setBackend | ||
|
||
\brief 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. | ||
|
||
\ingroup unified_func | ||
\ingroup arrayfire_func | ||
|
||
======================================================================= | ||
|
||
\defgroup unified_func_getbackendcount getBackendCount | ||
|
||
\brief Get the number of backends whose libraries were successfully loaded. | ||
|
||
This will be between 0-3. 0 Being no backends were loaded and 3 being all | ||
backends loaded successfully. | ||
|
||
\ingroup unified_func | ||
\ingroup arrayfire_func | ||
|
||
======================================================================= | ||
|
||
\defgroup unified_func_getavailbackends getAvailableBackends | ||
|
||
\brief Returns an integer indicating the backends loaded successfully. | ||
|
||
The number returned denotes the backends available according to the table: | ||
|
||
Return Value | Backends Available | ||
-------------|----------------------- | ||
0 | None | ||
1 | CPU | ||
2 | CUDA | ||
3 | CPU and CUDA | ||
4 | OpenCL | ||
5 | CPU and OpenCL | ||
6 | CUDA and OpenCL | ||
7 | CPU, CUDA and OpenCL | ||
|
||
\ingroup unified_func | ||
\ingroup arrayfire_func | ||
|
||
======================================================================= | ||
|
||
\defgroup unified_func_getbackendid getBackendId | ||
|
||
\brief Get's the backend enum for an array | ||
|
||
This will return one of the values from the \ref af_backend enum. | ||
The return value specifies which backend the array was created on. | ||
|
||
\ingroup unified_func | ||
\ingroup arrayfire_func | ||
|
||
======================================================================= | ||
|
||
@} | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.