# Verifying code on other borads than 8800?

**URL:** <https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228>\
**Category:** CUDA Programming and Performance\
**Created:** [February 19, 2007, 9:44am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228 "2007-02-19T09:44:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenrikAndresen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@HenrikAndresen](https://forums.developer.nvidia.com/u/HenrikAndresen)\
**Post date:** [February 19, 2007, 9:44am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/1 "2007-02-19T09:44:29Z")

</div>

Hi

I would like to know if it is possible to evaluate some compiled code either on boards pre 8800 (i.e. a 7900GT), or if a software simulation would be possible.

My problem is that I am often developing on my laptop which doesn’t have a new spiffy high-end card installed, and a test whether the code was correct would be usefull. Then I could do performance testing later on a real GPU later.

Best regards

Henrik

---

<div class="post-metadata">

**Author:** ![Simon\_Green](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Simon\_Green](https://forums.developer.nvidia.com/u/Simon_Green)\
**Post date:** [February 19, 2007, 10:01am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/2 "2007-02-19T10:01:31Z")

</div>

CUDA is only supported on GeForce 8 series cards (and forthcoming Quadro cards), since it requires hardware only present on these GPUs.

The Toolkit does include a “host emulation” mode that compiles code to run on the CPU. Note that this is not high performance (it launches a CPU thread for each thread) - it’s mainly intended for development and functional debugging.

So yes, you can code CUDA on your laptop!

---

<div class="post-metadata">

**Author:** ![HenrikAndresen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@HenrikAndresen](https://forums.developer.nvidia.com/u/HenrikAndresen)\
**Post date:** [February 19, 2007, 10:21am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/3 "2007-02-19T10:21:32Z")

</div>

Excellent!

Thanks for the quick reply

---

<div class="post-metadata">

**Author:** ![Mark\_Harris](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/mark_harris/32/23175_2.png) [@Mark\_Harris](https://forums.developer.nvidia.com/u/Mark_Harris)\
**Post date:** [February 19, 2007, 10:43am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/4 "2007-02-19T10:43:56Z")

</div>

Note that you should be careful when developing in emulation because it’s possible to write code that works fine in emulation but fails on the GPU hardware.

Emulation does not simulate the GPU exactly, it simply runs the CUDA code in CPU threads. For example, since the CPU can’t run as many threads in parallel as on the GPU, if you forget a necessary \_\_syncthreads() call, it’s possible that code won’t work correctly on the GPU even though it does on the CPU.

Also, since in emulation all the different types of device memory (shared, global, local) are actually in the same memory space (host memory), it’s possible to access **device** pointers from host code, and vice versa. This is of course not possible on the GPU, and so code that does so might work on in emulation and fail in the device.

So yes, emulation is very handy for development on machines that don’t have the hardware, and for debugging your algorithms and implementation, but you should test your code on G8X hardware often to make it easier to find bugs like those described above.

Mark

---

<div class="post-metadata">

**Author:** ![pvderste](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@pvderste](https://forums.developer.nvidia.com/u/pvderste)\
**Post date:** [February 20, 2007, 8:26am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/5 "2007-02-20T08:26:33Z")

</div>

> [@](#):
>
> CUDA is only supported on GeForce 8 series cards (and forthcoming Quadro cards), since it requires hardware only present on these GPUs.
> 
> So yes, you can code CUDA on your laptop!
> 
> [snapback]161293[/snapback]

Does this means that CUDA will work on any upcoming Geforce Go GPUs series 8? (8600, 8400?)

Similar question as the one above. I want to experiment with CUDA. (thx for releasing CUDA) I however always work on laptops…

Therefor: Will CUDA work on the upcoming Geforce Go GPUs?

thx in advance.

---

<div class="post-metadata">

**Author:** ![Mark\_Harris](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/mark_harris/32/23175_2.png) [@Mark\_Harris](https://forums.developer.nvidia.com/u/Mark_Harris)\
**Post date:** [February 20, 2007, 9:43am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/6 "2007-02-20T09:43:59Z")

</div>

> [@](#):
>
> Does this means that CUDA will work on any upcoming Geforce Go GPUs series 8? (8600, 8400?)
> 
> Similar question as the one above.&nbsp; I want to experiment with CUDA.&nbsp; (thx for releasing CUDA) I however always work on laptops…
> 
> Therefor: Will CUDA work on the upcoming Geforce Go GPUs?
> 
> thx in advance.
> 
> [snapback]161730[/snapback]

I can’t comment on unannounced products, but CUDA should work on any G8X (i.e. GeForce 8 Series and Quadro G8X) and higher GPU.

Mark

---

<div class="post-metadata">

**Author:** ![cipher1](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@cipher1](https://forums.developer.nvidia.com/u/cipher1)\
**Post date:** [March 12, 2007, 4:36am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/7 "2007-03-12T04:36:29Z")

</div>

hi,

i would like to know if software emulation is supported in the long term… in other words I want to ask if software emulation will be supported in the future CUDA releases ?

I am planning to begin a CUDA based project on my hp notebook (core 2 duo 5600,go 7600 …) and would like to know if it is a viable option to begin programming on this setup cause I really dont want to spend $1000 on a new desktop until I’m done with a working build of my project

Please advise

Thx

SM

---

<div class="post-metadata">

**Author:** ![Cyril\_Zeller](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Cyril\_Zeller](https://forums.developer.nvidia.com/u/Cyril_Zeller)\
**Post date:** [March 12, 2007, 8:36am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/8 "2007-03-12T08:36:04Z")

</div>

Yes, device emulation will be supported in the next release.

It is a viable option to begin a project, provided you’re aware of the caveats described in section 4.5.2.8 of the programming guide. Some of them are easily overlooked with the current release though (like dereferencing a device pointer in host code or vice-versa). We’ll try and improve for the next release. Executing the code on the device remains the only effective way to detect these and make sure your code is indeed working.

---

<div class="post-metadata">

**Author:** ![cipher1](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@cipher1](https://forums.developer.nvidia.com/u/cipher1)\
**Post date:** [March 12, 2007, 10:26am UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/9 "2007-03-12T10:26:01Z")

</div>

Great, thanks for the prompt reply

---

<div class="post-metadata">

**Author:** ![vamPierchen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@vamPierchen](https://forums.developer.nvidia.com/u/vamPierchen)\
**Post date:** [June 7, 2007, 1:07pm UTC](https://forums.developer.nvidia.com/t/verifying-code-on-other-borads-than-8800/228/10 "2007-06-07T13:07:17Z")

</div>

Do not believe in device emulation too much…

True: “while working in emulation mode you don’t need a 8800”  
But: “You absolutely need a nVidia card (chipset?) because you DO NEED the driver to use the driver API!”

[External Image](http://hqnveipbwb20/public/style_emoticons/<#EMO_DIR#>/thumbsdown.gif "Image hosted on another site. Click to open in a new tab.")
