Closed jwang323 closed 9 years ago
From gregory....@gatech.edu on February 06, 2010 03:31:14
What steps will reproduce the problem? This test program:
int main() { std::cerr << "sizeof(long long): " << sizeof(long long) << std::endl;
using namespace std; using namespace std::tr1;
typedef pair<long long, long long> p; typedef tuple<p, unsigned int> t;
std::cerr << "sizeof(tuple<pair<long long, long long> >, unsigned int>): " << sizeof(t) << std::endl;
return 0; } What is the expected output? What do you see instead? The size is 20 on gcc4.4.1 32-bit, 24 on gcc4.4.1 64-bit, and 24 on nvcc3.0b
Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=38
From gregory....@gatech.edu on October 18, 2010 11:48:58
This is a gcc issue not an ocelot issue.
Status: WontFix
From gregory....@gatech.edu on February 06, 2010 03:31:14
What steps will reproduce the problem? This test program:
include
include <tr1/tuple>
include
int main() { std::cerr << "sizeof(long long): " << sizeof(long long) << std::endl;
using namespace std; using namespace std::tr1;
typedef pair<long long, long long> p; typedef tuple<p, unsigned int> t;
std::cerr << "sizeof(tuple<pair<long long, long long> >, unsigned int>): " << sizeof(t) << std::endl;
return 0; } What is the expected output? What do you see instead? The size is 20 on gcc4.4.1 32-bit, 24 on gcc4.4.1 64-bit, and 24 on nvcc3.0b
Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=38