memory size or pointer is too large to fit in 32 bit pointer

Hi,

I am using nvcc 3.1 compilation tools on linux.
I am trying to allocate a memory of 116644665724 = 4.05GB using cudaMalloc.
It says “memory size or pointer value too large to fit in 32 bit”.
I tried verifying the size of pointer using sizeof() it prints out 8 bytes.
any advice would be highly helpful.

Hi,

I am using nvcc 3.1 compilation tools on linux.
I am trying to allocate a memory of 116644665724 = 4.05GB using cudaMalloc.
It says “memory size or pointer value too large to fit in 32 bit”.
I tried verifying the size of pointer using sizeof() it prints out 8 bytes.
any advice would be highly helpful.

Are you running 32 bit or 64 bit Linux? What GPU hardware are you using?

Are you running 32 bit or 64 bit Linux? What GPU hardware are you using?

Hi,

uname -m gives me x86_64

and i am using Tesla C 2070

Hi,

uname -m gives me x86_64

and i am using Tesla C 2070

Install CUDA 3.2. 64-bit GPU addressing isn’t supported in 3.1 and prior.

Install CUDA 3.2. 64-bit GPU addressing isn’t supported in 3.1 and prior.

thanks for information

thanks for information