emulation in version 2.1

Hello,

I am having problems running the examples in the 2.1 SDK using device emulation. I installed the 2.1 toolkit and then the 2.1 SDK, compiled the code and ran nbody. I got the following error:

cudaSafeCall() Runtime API error in file <nbody.cpp>, line 610 : initialization error.

I then tried deviceQuery:

[codebox]CUDA Device Query (Runtime API) version (CUDART static linking)

There is 1 device supporting CUDA

Device 0: “???”

CUDA Capability Major revision number: 116363

CUDA Capability Minor revision number: -1881129765

Total amount of global memory: 0 bytes

Number of multiprocessors: -1073744616

Number of cores: -22336

Total amount of constant memory: 1 bytes

Total amount of shared memory per block: 106568 bytes

Total number of registers available per block: -1073744680

Warp size: 116438

Maximum number of threads per block: 107360

Maximum sizes of each dimension of a block: 1936287589 x 1601332596 x 123748

Maximum sizes of each dimension of a grid: -1814050492 x 2 x 107036

Maximum memory pitch: 2480916806 bytes

Texture alignment: 2414024924 bytes

Clock rate: 0.03 GHz

Concurrent copy and execution: Yes

Test PASSED[/codebox]

This output does not look like what I’ve seen elsewhere on this forum. I then deleted everything under /Developer/CUDA, installed the 2.0 toolkit and SDK, and compiled all the examples. Now the examples run and deviceQuery shows:

[codebox]CUDA Device Query (Runtime API) version (CUDART static linking)

There is no device supporting CUDA.

Device 0: “Device Emulation (CPU)”

CUDA Capability Major revision number: 9999

CUDA Capability Minor revision number: 9999

Total amount of global memory: 4294967295 bytes

Number of multiprocessors: 16

Number of cores: 128

Total amount of constant memory: 65536 bytes

Total amount of shared memory per block: 16384 bytes

Total number of registers available per block: 8192

Warp size: 1

Maximum number of threads per block: 512

Maximum sizes of each dimension of a block: 512 x 512 x 64

Maximum sizes of each dimension of a grid: 65535 x 65535 x 1

Maximum memory pitch: 262144 bytes

Texture alignment: 256 bytes

Clock rate: 1.35 GHz

Concurrent copy and execution: No

Test PASSED[/codebox]

Has anyone else had issues with emulation in 2.1? I am running this on a first gen MacBook Pro, 2.0 Core Duo with an ATI Mobility Radeon X1600. Any help is appreciated.

Thanks,

Kimo