Building 3.1 SDK examples as x86_64

Is there a way to build the SDK examples as 64 bit on Mac OS 10.6? They seem to build as 32 bit by default.

I am trying to start using CUDA now on Mac OS 10.6 as I am hoping it will work with an existing library that is 64-bit only. In layman’s terms, does the transition to 3.1 mean I can now do this or will only 32-bit work still? I thought building the examples as 64-bit would be a start.

Thanks.

I have built my own CUDA code (no references to the SDK) as 64-bit with 3.1 on OS X 10.6. You just have to pass -m64 to nvcc. It linked into the rest of my 64-bit application just fine.

I have built my own CUDA code (no references to the SDK) as 64-bit with 3.1 on OS X 10.6. You just have to pass -m64 to nvcc. It linked into the rest of my 64-bit application just fine.