Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outputs data incorrectly #115

Open
andrucom opened this issue Nov 7, 2024 · 3 comments
Open

Outputs data incorrectly #115

andrucom opened this issue Nov 7, 2024 · 3 comments

Comments

@andrucom
Copy link

andrucom commented Nov 7, 2024

I made a simple program based on this library. I am faced with incorrect data output and I do not know what the problem is, whether I made a mistake or there is an error in the library.

1. Processor CACHE

It is displayed incorrectly. On my laptop, L1 is like L2 and vice versa. The data on the home computer is generally not the same.
image
image

2. GPU video memory

It shows 4 gb when in fact it has 8gb
image
image

Source: https://github.com/andrucom/CAP

I will be grateful if you help me with this problem! I would also like to see an example using cpuid, OpenCL, if they can be used.

@lfreist
Copy link
Owner

lfreist commented Nov 10, 2024

Can you check the output of the example built by hwinfo? You can build and run it as described in the README.md. Thanks.

@andrucom
Copy link
Author

Can you check the output of the example built by hwinfo? You can build and run it as described in the README.md. Thanks.

image
image

Unfortunately, I can't check the video memory display right now because I'm not at home.

Interestingly, my friend's program shows correctly, which seems strange to me. By the way, he uses 11, and I use 10

@lfreist
Copy link
Owner

lfreist commented Nov 11, 2024

Mh, interesting... I fear that this is rather not an issue with hwinfo. For both, windows 10 and 11, the windows API is used to read those information...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants