Parallelism between CPU and GPU

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dave (anonymous_at_discussions.microsoft.com)
Date: 05/14/04


Date: Fri, 14 May 2004 12:11:06 -0700

Hi,

In D3D, how do i code in order to get the maximum parallelism between CPU and GPU.

Like this??

... CPU chores...
BeginScene()
...All the D3D api calls...
EndScene()
Present()
... CPU chores...

OR like this??

BeginScene()
...Some D3D calls...
EndScene()
...Some CPU chores
BeginScene()
...Some D3D calls...
EndScene()
...Some CPU chores
  .
  .
  .
Present()

Can any1 enlighten me?
Thanks!



Relevant Pages

  • Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
    ... For shmem, that appears to point at functions which will do what I ... even if the GPU never writes them. ... the GPU and never used by the CPU at all. ... pwrite API to transmit this data. ...
    (Linux-Kernel)
  • Re: Parallelism between CPU and GPU
    ... CPU chores... ... You can't call BS/ES more than once per render target per Present ... "The Direct3D Graphics Pipeline"-- code samples, sample chapter, FAQ: ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Grafikkartenempfehlung... mal wieder ;-)
    ... dass Dinge wie AI oder Physik (sofern nicht bereits auf die GPU verlagert) von der CPU erledigt werden. ... Von daher steigt bei vielen Spielen ab einer gewissen Mindest-CPU-Leistung die Framerate auch nur nur sehr gering an, wenn eine stärkere CPU eingebaut wird. ... verzichten und stattdessen lieber nur nakte Hardware benutzen. ... Nicht alle Fehler treten sofort auf, und nicht immer meldet sich die Hardware und sagt "ich bin kaputt". ...
    (de.comp.hardware.graphik)
  • Thoughts on CPU vs. GPU...
    ... the CPU will replace the GPU, nVidia wants us to believe the GPU will ... which will prevent it from running games as fast as it could if all it ... The thinking went that more advanced graphics could be ...
    (comp.sys.ibm.pc.games.action)
  • Re: Replace CPU advice
    ... Which sort of tells me the sensor isn't on the CPU. ... Changing out the heatsink and fan made no difference. ... Kind of like dual core GPU. ... Some of the laptop manufacturers, ...
    (microsoft.public.windowsxp.hardware)