#I would like to ask new CPU holders to test that small code snippet

69 messages · Page 1 of 1 (latest)

wary roseBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

uneven olive
#

the thing is mine returns 12 threads as I have 6core CPU , interesting what it will do where CPU thread are not a double of amount of cores (new intel CPUs with E and P cores)

light iris
#

why use the WINAPI?

uneven olive
#

I can't test that as I have no PC that runs new CPU , but if anyone can , thank you in advance

#

what I can use ?

light iris
#

why not use the standatd C++ lib stuff

uneven olive
#

this is not a only info I need from hardware

#

it is way more than that

light iris
#

ah okay

uneven olive
#

new intel CPU holders (with E and P cores) if you have a time please test that code cpp #include <iostream> #include <windows.h> int main() { SYSTEM_INFO CPU_Cores; GetSystemInfo(&CPU_Cores); std::cout<<CPU_Cores.dwNumberOfProcessors; return 0; } what number it gives to you ? thanks in advance

wary roseBOT
#

@uneven olive Has your question been resolved? If so, run !solved :)

pliant cargo
#

I could tell you that mine without running it will return 32, but that's also AMD and not Intel with their new system

uneven olive
#

thanks but that is not a new cpu with E and P cores

#

it is irrelevant

old locust
#

💀 ?

desert timber
shrewd kindle
#

I might have 12th gen

#

Ping me in half an hour

river hamlet
#

you know that you can just look this information up right?

uneven olive
#

@shrewd kindle ok thanks

wary roseBOT
#

@uneven olive Has your question been resolved? If so, run !solved :)

shrewd kindle
#

Sorry, 11th gen

uneven olive
#

no problem , thanks

river hamlet
#

again, you can just look up how many P cores, E cores, and threads any given CPU has

#

you don't need someone to run some utility to find that out

#

it's all there right on the intel website 🤷‍♂️

uneven olive
#

just stopp...

river hamlet
#

i'm quite confused as to what's so funny about this

shrewd kindle
#

I really don't understand what you are trying to do Monke

#

what dot is suggesting sounds extremely reasonable, and you didn't provide much details that would suggest otherwise

river hamlet
#

the code they asked us to run simply queries the number of logical CPUs, which is just gonna be the number of hardware threads…

#

(at least on systems with less than 64 threads)

shrewd kindle
#

I expected some differences out weird behavior in newer architectures that they are investigating or sth similar

river hamlet
#

from what i've seen, e vs p cores are pretty transparent to applications

uneven olive
#

what dot is suggesting sounds extremely reasonable no , not even close to be a reasonable

#

not saying about extremely or super

light iris
#

I mean it's fairly reasonable

river hamlet
#

lol

light iris
#

the thing is we don't know what you are trying to do

uneven olive
#

how much accounts you guys have here 🙂

light iris
#

what

river hamlet
#

you asked us to run and tell you the output of some piece of code that will print the number of logical processors

#

i told you that you can simply look up the number of logical processors on the manufacturer's website

light iris
#

and regardless even then knowing the number of logicall processors isn't that important in most cases

river hamlet
#

this is information that is readily available online. there is absolutely no need to rely on people running code for you on their machines to find out how many logical processors a given intel CPU has.

uneven olive
#

I can't believe that looooooooool

river hamlet
#

wtf are you on about lol

uneven olive
#

it can't be so hopeless

#

ok just closing a topic

wary roseBOT
#

@uneven olive

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

river hamlet
#

lol

uneven olive
#

yes it is helpfull surely 🙂 when you have clown like dot involved

river hamlet
#

mate

#

whatever

#

i can tell you with certainty that the number of logical processors on a modern intel CPU is just what it says on the website

#

i recently built a pc for my dad with a 12600K and it reports exactly that number of CPUs

#

you can also trivially verify this by watching any review of the CPU or smth and checking out what their task manager looks like

light iris
#

I mean can you explain to me why you think dot is being a clown? cause from my point of view they are saying a fairly reasonable thing

river hamlet
#

it's pretty simple really

#

the E cores don't have hyperthreading

#

the P cores do

#

so the number of logical processors you'll see with hyperthreading enabled is 2 * P + E

#

which, spoiler alert, is exactly the number you'll also find listed in the specs on the intel website