arrayfire-dotnet icon indicating copy to clipboard operation
arrayfire-dotnet copied to clipboard

.NET wrapper for ArrayFire

ArrayFire Binding in .NET Standard

NuGet Documentation Status Build status

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

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