Pointers size problem: 32 BIT vs 64 bit.

Feb 27 at 10:06 PM
I have a problem with ManagedCuda in 64 bit mode:

It seems that kernel.cu file is always compiled as 32 bit.
.ptx file is always this same no matter what is set in properties of project where kernel.cu is placed.(64 bit or 32 bit. compiler settings does not changes ptx file at all)

The problem is visible that using "Prefer 32 bit" setting in C# everything works fine (I can see that Pointer address is 32 bit.)

But when main C# program is compiled in 64 bit mode, pointer is 64 bit (this is normal) and when running program I am getting an Error:

"ErrorIllegalAddress: While executing a kernel, the ...... and so on.