https://github.com/arrayfire/arrayfire-dotnet
.NET wrapper for ArrayFire
https://github.com/arrayfire/arrayfire-dotnet
Last synced: 4 months ago
JSON representation
.NET wrapper for ArrayFire
- Host: GitHub
- URL: https://github.com/arrayfire/arrayfire-dotnet
- Owner: arrayfire
- License: bsd-3-clause
- Created: 2015-05-08T15:17:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T07:08:13.000Z (over 3 years ago)
- Last Synced: 2025-08-01T07:22:46.449Z (5 months ago)
- Language: C#
- Homepage:
- Size: 117 KB
- Stars: 78
- Watchers: 8
- Forks: 21
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ArrayFire Binding in .NET Standard
[](https://www.nuget.org/packages/ArrayFire)
[](https://arrayfirenet.readthedocs.io/en/latest/?badge=latest)
[](https://ci.appveyor.com/project/Haiping-Chen/arrayfire-dotnet)
[ArrayFire](https://github.com/arrayfire/arrayfire) is a high performance library for parallel computing with an easy-to-use API. It enables users to write scientific computing code that is portable across CUDA, OpenCL and CPU devices. This project provides .NET bindings for the ArrayFire library. It conforms to .NET Standard 2.x, so it can be used from any .net Language such as C# or F#
### Prerequisites
- The latest version of ArrayFire. You can get ArrayFire using one of the following:
- [Download binary installers](http://www.arrayfire.com/download)
- [Build from source](https://github.com/arrayfire/arrayfire)
- .NET Core 2.2
- [.NET Downloads](https://dotnet.microsoft.com/download)
- Visual Studio 2017 or above.
- [Download Visual Studio Community Free](https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx)
### Contents
- `Wrapper/`: Contains the C# source code for the .net ArrayFire wrapper library. This is the library that you need to reference from your project.
- `AutoGenTool/`: Contains the F# source code for a tool that automatically generates part of the library code. Not meant to be used by consumers of the library.
- `Examples/`: contains a few examples demonstrating the usage from both C# and F#
### Usage
1. Install from NuGet
`PM> Install-Package ArrayFire`
- Refer to the Examples folder.
- Or run in command line
`dotnet "HelloWorld (CSharp).dll"`
Documentation
---------------
- Refer [here](https://readthedocs.org/projects/arrayfirenet).