Re: [Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-07 Thread Trevor L. McDonell
On 07/07/2011, at 1:36 AM, Johannes Waldmann wrote: > actually libcuda is in /usr/lib/nvidia-current ... > It still feels strange that I can build the examples from > NVIDIA_GPU_Computing_SDK/C/src/ without modifying LDFLAGS. Okay. I've modified to configure script to fix the extra space iss

Re: [Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-06 Thread Johannes Waldmann
Trevor L. McDonell cse.unsw.edu.au> writes: > hmm... so libcuda and libcudart are in /usr/local/cuda/lib ... actually libcuda is in /usr/lib/nvidia-current , unbeknownst to ./configure. I think this comes from package "nvidia-current(-dev)" in ubuntu. I could solve this with LDFLAGS='-L/usr/li

Re: [Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-05 Thread Trevor L. McDonell
hmm... so libcuda and libcudart are in /usr/local/cuda/lib and the script isn't finding them? Any further information on your system / os combination? What version of the toolkit are you using? I currently use 3.2, haven't tried with 4.x yet. > $ nvcc --version > nvcc: NVIDIA (R) Cuda compiler dr

Re: [Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-05 Thread Johannes Waldmann
Trevor L. McDonell cse.unsw.edu.au> writes: > ... source repo should work: > https://github.com/mchakravarty/accelerate I have CUDA in the default location (e.g., /usr/local/cuda/bin/nvcc ) but I can't seem to get the cuda cabal package to build ... checking cuda.h usability... yes checking cud

Re: [Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-05 Thread Trevor L. McDonell
I should mention that the version of 'accelerate' on hackage is a little old and unloved at the moment, but the source repo should work: https://github.com/mchakravarty/accelerate Also, the CUDA bindings package hasn't yet been tested/updated for the recent 4.0 toolkit release. -T On 05/07/201

Re: [Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-04 Thread Don Stewart
There's a lot of active work: Direct access to CUDA: http://hackage.haskell.org/package/cuda CUDA in Haskell: http://hackage.haskell.org/package/language-c-quote Direct access to OpenCL: http://hackage.haskell.org/package/OpenCLRaw High-level pure data parallelism targetting your GPU: http://hacka

[Haskell-cafe] NVIDIA's CUDA and Haskell

2011-07-04 Thread Vasili I. Galchin
Hi, NVIDIA's CUDA library seems to be really hot in the massively parallel world: http://www.nvidia.com/object/cuda_home_new.html. I realize that given CUDA seems to be implemented in an extension of ANSI C that it is pervaded by statefulness. However, is there any effort to build "a bridge"