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

CPU detection for GCC/clang. #20

Merged
merged 1 commit into from
Nov 15, 2024
Merged

CPU detection for GCC/clang. #20

merged 1 commit into from
Nov 15, 2024

Conversation

eloj
Copy link
Contributor

@eloj eloj commented Nov 15, 2024

Bit of mess define-wise. Anyway.

tiny_bvh version 0.8.0 performance statistics (gcc 14.2 build)
running on AMD Ryzen 7 5800X3D 8-Core Processor           
...
tiny_bvh version 0.8.0 performance statistics (clang 19.1 build)
running on AMD Ryzen 7 5800X3D 8-Core Processor           

@eloj eloj force-pushed the gcc-clang-cpuid branch 2 times, most recently from 346fbe1 to c279633 Compare November 15, 2024 17:12
@jbikker jbikker merged commit bf23ffe into jbikker:main Nov 15, 2024
6 checks passed
@jbikker
Copy link
Owner

jbikker commented Nov 15, 2024

Nice, thanks. :)

@eloj
Copy link
Contributor Author

eloj commented Nov 15, 2024

I just learned that GCC 11 added a MSVC compatible __cpuidex to cpuid.h, so this can be simplified if earlier compiler versions are not important.

@jbikker
Copy link
Owner

jbikker commented Nov 15, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants