google-code-export / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
2 stars 2 forks source link

bucket_sort2d.cu example uses non-portable float2 #420

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
g++ & cl.exe don't know what float2 is.  Let's replace this with something ad 
hoc & portable.

Original issue reported on code.google.com by jaredhoberock on 8 Dec 2011 at 7:26

GoogleCodeExporter commented 9 years ago
The simple fix is to use my_float2, but that doesn't have the same performance 
characteristics.  We should probably rewrite the example to use SoA since it's 
"best practice" anyway.

I'll take responsibility for this one.

Original comment by wnbell on 8 Dec 2011 at 7:40

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e1d92e048d71.

Original comment by wnbell on 22 Jan 2012 at 8:33