[rust-dev] rust and cuda

2014-09-06 Thread Madhu Srinivasan
Hello fellow Rustians,
I am wondering (before attempting anything) if anyone has tried creating cuda 
bindings for rust? Or has discovered any other route to use cuda kernels with 
rust as the host language ?
If not, I am willing to work in this direction, but would need some guidance 
from the community on using rust-bindgen and it's FFI usage etc. 

Thanks, 
Madhu
https://github.com/smadhueagle___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] rust and cuda

2014-09-06 Thread Corey Richardson
See http://www.cs.indiana.edu/~eholk/papers/hips2013.pdf and
http://blog.theincredibleholk.org/blog/2012/12/05/compiling-rust-for-gpus/
for prior work.

On Sat, Sep 6, 2014 at 1:09 PM, Madhu Srinivasan
smadhuea...@outlook.com wrote:
 Hello fellow Rustians,

 I am wondering (before attempting anything) if anyone has tried creating
 cuda bindings for rust? Or has discovered any other route to use cuda
 kernels with rust as the host language ?

 If not, I am willing to work in this direction, but would need some guidance
 from the community on using rust-bindgen and it's FFI usage etc.


 Thanks,

 Madhu

 https://github.com/smadhueagle

 ___
 Rust-dev mailing list
 Rust-dev@mozilla.org
 https://mail.mozilla.org/listinfo/rust-dev




-- 
http://octayn.net/
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] rust and cuda

2014-09-06 Thread Madhu Srinivasan
Thanks ! Yes, I came across the blog and I've read the paper.  However, I am 
not looking at writing GPU Kernels in Rust that can be LLVM'ed into a PTX 
backend. 
I'm looking for something along the lines of rust-opencl 
https://github.com/luqmana/rust-opencl . 

I'll be looking into this more deeply in the coming weeks, so please let me 
know if you have any inputs/opinions.
Madhu

 Date: Sat, 6 Sep 2014 14:06:35 -0400
 Subject: Re: [rust-dev] rust and cuda
 From: co...@octayn.net
 To: smadhuea...@outlook.com
 CC: rust-dev@mozilla.org
 
 See http://www.cs.indiana.edu/~eholk/papers/hips2013.pdf and
 http://blog.theincredibleholk.org/blog/2012/12/05/compiling-rust-for-gpus/
 for prior work.
 
 On Sat, Sep 6, 2014 at 1:09 PM, Madhu Srinivasan
 smadhuea...@outlook.com wrote:
  Hello fellow Rustians,
 
  I am wondering (before attempting anything) if anyone has tried creating
  cuda bindings for rust? Or has discovered any other route to use cuda
  kernels with rust as the host language ?
 
  If not, I am willing to work in this direction, but would need some guidance
  from the community on using rust-bindgen and it's FFI usage etc.
 
 
  Thanks,
 
  Madhu
 
  https://github.com/smadhueagle
 
  ___
  Rust-dev mailing list
  Rust-dev@mozilla.org
  https://mail.mozilla.org/listinfo/rust-dev
 
 
 
 
 -- 
 http://octayn.net/
  ___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev