arrayfire/arrayfire-d

Name: arrayfire-d

Owner: ArrayFire

Description: D-lang bindings for arrayfire

Created: 2017-03-07 17:10:47.0

Updated: 2017-10-17 13:52:33.0

Pushed: 2017-04-22 14:05:01.0

Homepage: null

Size: 46

Language: D

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ArrayFire is a general-purpose library that simplifies the process of developing software that targets parallel and massively-parallel architectures including CPUs, GPUs, and other hardware acceleration devices.

arrayfire-d is a D binding for ArrayFire.

Installation

Getting ArrayFire

To install arrayfire library, see resource.

Using arrayfire_d

Add arrayfire_d in dub.json as a dependency.

ependencies": {
"arrayfire_d": "~>0.1.0"

Specifying Backend:

ArrayFire library supports the following backends:

To specify the backend you want to use place it in your dub.json file.

For example, if you have a Nvidia GPU and want to use the CUDA backend:

dub.json:


ame": "af_example",
uthors": [
"John Doe"

ibs": ["afcuda"],
escription": "ArrayFire Example"

If you specify af as ArrayFire backend, the following preference would be used by ArrayFire to harvest maximum efficiency:

  1. CUDA
  2. OpenCL
  3. CPU

LICENSE

This software is distributed under the BSD 3-Clause License.

Copyright © 2017, Prasun Anand and ArrayFire


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.