3 ms·
You might want to take a look at SYCL for higher-level abstractions if that was your preference. There is an open-source implementation to dig into: https://g
by shawn-butler 10y ago
You might want to take a look at SYCL for higher-level abstractions if that was your preference.
There is an open-source implementation to dig into: https://github.com/Xilinx/triSYCL https://github.com/Xilinx/triSYCL
- tombert 10y agoActually, nowadays since I mostly do esoteric functional stuff, I mostly use the wonderful `accelerate` package for Haskell: https://www.stackage.org/package/accelerate https://www.stackage.org/package/accelerate It abstracts away most of the difficult stuff.
- Athas 10y agoOut of curiosity, what are you doing with Accelerate? I've been looking for examples of people using it in anger.
- tombert 10y agoI can't get into the weeds of it because of some NDA chicanery, but there are a couple vector transformations that I have to do on a not-quite-big-data-but-also-too-big-for-regular-CPU set of data. The initial version of the project was doing some basic stuff in Python, but that proved to be slow so I rewrote most of it in Haskell and Accelerate.
- rodburns 10y agoIn addition to triSYCL we also have an implementation of SYCL called ComputeCpp http://computecpp.codeplay.com/ http://computecpp.codeplay.com/