-
Notifications
You must be signed in to change notification settings - Fork 454
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
Add ociocpuinfo utility #1960
Add ociocpuinfo utility #1960
Conversation
Remove unneeded duplicate code h Handle unknown processors Signed-off-by: Mark Reid <[email protected]>
Signed-off-by: Mark Reid <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @markreidvfx, looks good to me. I assume we should make it available through the Python wheel? Should be as simple as adding it to the list here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Mark! Will hold off on merging to see if you want to add it to the Wheel as Remi suggested.
Yes, please hold off. I will add the executable to the wheel like remi suggested. |
Signed-off-by: Mark Reid <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, will merge after Remi's approval.
Thanks @markreidvfx, tested on the macOS wheel and it seem to work just fine. |
Adds a very simple utility that prints out the cpu features detected by OCIO.
This mimics the output of the program shared in #1935 and here.
implements #1937
It is with all the other ocio apps, wasn't sure if this was the best place to put it. I could see being with the test apps too.
I also took the time to simplify the CPUInfo header. There isn't really a need to special case aarch64. We can remove some duplicate code.