GitHub - arrayfire/arrayfire-go: Go bindings for arrayfire | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

arrayfire/arrayfire-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArrayFire Go Bindings

This project is still in the prototype phase. Please follow the discussion on this issue. You can also chat with us at the following locations:

Join the chat at https://gitter.im/arrayfire/arrayfire-go

Building arrayfire-go

Install ArrayFire libraries

Ensure you have the ArrayFire library installed on your system.

You can get the ArrayFire library from one of the following ways:

Set Environment variables

Point AF_PATH to the installed location of ArrayFire.

$ export AF_PATH=/path/to/arrayfire

If using the CUDA backend, you will need to include path to nvvm

$ export NVVM_LIB_PATH=/path/to/cuda/nvvm/lib64 # use nvvm/lib for OSX or 32 bit systems

Point GOPATH to the location of arrayfire-go

Export LD_LIBRARY_PATH on Linux and DYLD_LIBRARY_PATH on OSX to point to

  • AF_PATH/lib
  • NVVM_LIB_PATH if using CUDA backend.

Building with arrayfire libraries

For ArrayFire 3.2 and above:

$ export CGO_CFLAGS="-I$AF_PATH/include"
$ export CGO_LDFLAGS="-L$AF_PATH/lib -laf -lforge"
$ go build

For older versions replace -laf with either -lafcuda, -lafopencl or -lafcpu

Contribute

If you want to contribute to this project, start here:

About

Go bindings for arrayfire

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.