luqmana / rust-opencl

OpenCL bindings for Rust.
Other
170 stars 42 forks source link

cl_float2 not implemented #14

Closed itdaniher closed 11 years ago

itdaniher commented 11 years ago

It's a packed struct of 32b floats. I'm pretty sure it's the same format as Complex32, which would be convenient, but haven't verified.

eholk commented 11 years ago

I think Rust has some SIMD types built in. I wonder if we could use these.

itdaniher commented 11 years ago

Confirmed that complex::Complex32 works! Test code works using a fft kernel.

eholk commented 11 years ago

Awesome! We should put the test FFT code in the repo to make sure it keeps working.

On Tue, Oct 29, 2013 at 4:01 PM, Ian Daniher notifications@github.comwrote:

Confirmed that complex::Complex32 works! Test codehttp://itdaniher.com/p?eXLEworks using a fft http://itdaniher.com/p?rCcz kernel.

— Reply to this email directly or view it on GitHubhttps://github.com/luqmana/rust-opencl/issues/14#issuecomment-27337996 .

eholk commented 11 years ago

@itdaniher: is it safe to close this bug now?

itdaniher commented 11 years ago

Yep!

eholk commented 11 years ago

Thanks! On Nov 4, 2013 1:38 PM, "Ian Daniher" notifications@github.com wrote:

Closed #14 https://github.com/luqmana/rust-opencl/issues/14.

— Reply to this email directly or view it on GitHubhttps://github.com/luqmana/rust-opencl/issues/14 .