Closed GoogleCodeExporter closed 9 years ago
Does my_double2 work, i.e.:
struct my_double3
{
float x, y;
};
Original comment by jaredhoberock
on 1 Nov 2011 at 6:41
Yes, it worked, thanks!
struct my_double2 {
double x, y;
};
Shall I use my_double2 everywhere from now on instead of "built-in" double2?
double2 is defined in C:\Program Files\NVIDIA GPU Computing
Toolkit\CUDA\v4.0\include\vector_types.h as
/*DEVICE_BUILTIN*/
struct __builtin_align__(16) double2
{
double x, y;
};
Original comment by rych...@gmail.com
on 2 Nov 2011 at 1:59
Yes, this is a known incompatibility between nvcc and msvc with no other
solution AFAIK.
Original comment by wnbell
on 2 Nov 2011 at 4:12
Original issue reported on code.google.com by
rych...@gmail.com
on 31 Oct 2011 at 11:42