Hi,
I get an error, when I try to initialize the following structure:
typedef struct Abstraction
{
// Abstraction variables
unsigned __int64 OriginalSumSDV[22100];
int OriginalGroupNumber[22100];
unsigned __int64 GroupSumSDV[1756];
int GroupValue[1756];
int GroupSize[1756];
int Groups;
} *PABSTRACTION;
PABSTRACTION dFA;
cudaMalloc( (void **) &dFA, sizeof(Abstraction) );
cudaMemset( &dFA, 0, sizeof(Abstraction) ); // This gives an error
Memory size or pointer value too large to fit in 32 bit
Can I not use __int64 types in structs, since it works fine, when its just an __int64 pointer.
Any help in locating and correcting the problem is much appreciated.