SVN470 Download & Infos

spacy51
Senior Member
Posts: 371
Joined: Tue Mar 18, 2008 4:59 pm

SVN470 Download & Infos

Post by spacy51 »

I don't think the CPUID instruction is Intel-specific, but probably not all fields are supported by every processor.

 

try

Code: Select all

int VBA::detectCpuCores()
{
       SYSTEM_INFO info;

   GetSystemInfo(&info);
   return info.dwNumberOfProcessors;
}

<div>

</div>

 

I must have overlooked this in the SDK, thank you, I'll use that instead.

 

 

Edit:

Patch uploaded: SVN472

 

 

The next step is to add some code to remove the visible border of the filter areas.

 

 

Edit2:

Here are some results with my CPU underclocked:

C2D E6300 @ 266 MHz * 6 = 1600 MHz

Aeneon 4GB @ DDR2-800 5-5-5-16

 

Advance Wars 2 custom battle scene, HQ4x:

2 cores: 140%

1 core: 120%

Last edited by spacy51 on Mon Mar 31, 2008 1:52 pm, edited 1 time in total.
spacy51
Senior Member
Posts: 371
Joined: Tue Mar 18, 2008 4:59 pm

SVN470 Download & Infos

Post by spacy51 »

I just added the possibility to enable/disable this feature for D3D.

 

I also reduced the maximum number of threads to use from 16 to 8 so the image won't look too bad with 8 filter borders. ANything above 8 cores will possibly have enough calculation power anyway.

 

My next task will be to work on thread->core assignments sicne I have the feeling windows often executes all the threads on the same core [img]<fileStore.core_Emoticons>/emoticons/unsure.png[/img]/emoticons/unsure@2x.png 2x" width="20" height="20" />

Post Reply