Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Mar 25, 2018

No description provided.

@Maratyszcza
Copy link
Contributor

It removes support of Android, 32-bit x86, and 32-bit ARM. Why?

@ghost
Copy link
Author

ghost commented Mar 25, 2018

Sorry, I made a mistake! I wanted to update the cpuinfo version I forked from your repo with the latest changes you've made. I looked for some button to synchronize and pushed 'pull request' as I thought it will do the trick. I'm still not fully at ease with github.

@ghost ghost closed this Mar 25, 2018
@ghost
Copy link
Author

ghost commented Mar 25, 2018

If removed build.target.is_x86 and build.target.is_android because I was getting an error saying: Platform instance has no attribute "is_x86" when I launched python ./configure.py after calling confu setup. I don't know how to delete or cancel this "pull request" if that should be necessary.

@Maratyszcza
Copy link
Contributor

Thats fine. You may need to update confu to get around no-is_x86-attribute problem. Alternatively, you may use CMake to build cpuinfo.

@ghost
Copy link
Author

ghost commented Mar 26, 2018

Thanks for the info. After updating confu all problems where solved!

BODAPATIMAHESH added a commit to BODAPATIMAHESH/cpuinfo that referenced this pull request May 5, 2025
The 'disabled' field was declared for configurations other than SMT8
mode, but it is already handled during PowerPC64 Linux system
initialization. This change removes the redundant code.
make test:
    Start 1: init-test
1/3 Test pytorch#1: init-test ........................   Passed    0.02 sec
    Start 2: get-current-test
2/3 Test pytorch#2: get-current-test .................   Passed    0.02 sec
    Start 3: power-features-test
3/3 Test pytorch#3: power-features-test ..............   Passed    0.02 sec

100% tests passed, 0 tests failed out of 3
BODAPATIMAHESH added a commit to BODAPATIMAHESH/cpuinfo that referenced this pull request Aug 1, 2025
This patch introduces support for PowerPC64le platform
initialization, including:
Addition of header definitions specific to PPC64le.
Support for constructing processor topology, including:
Logical processors
Cores
Clusters
Packages
Cache hierarchy (L1i, L1d, L2, and L3)

Testing:
Successfully built and executed cpu_info on a PPC64le Linux machine.
Verified that it correctly reports:
Logical processors
Cores
Clusters
Packages
Cache information
Test Results:

Start 1: init-test
1/3 Test pytorch#1: init-test ......................... Passed    0.02 sec
Start 2: get-current-test
2/3 Test pytorch#2: get-current-test .................. Passed    0.02 sec
Start 3: power-features-test
3/3 Test pytorch#3: power-features-test ............... Passed    0.02 sec

100% tests passed, 0 tests failed out of 3
BODAPATIMAHESH added a commit to BODAPATIMAHESH/cpuinfo that referenced this pull request Aug 21, 2025
This patch introduces support for PowerPC64le platform
initialization, including:
Addition of header definitions specific to PPC64le.
Support for constructing processor topology, including:
Logical processors
Cores
Clusters
Packages
Cache hierarchy (L1i, L1d, L2, and L3)

Testing:
Successfully built and executed cpu_info on a PPC64le Linux machine.
Verified that it correctly reports:
Logical processors
Cores
Clusters
Packages
Cache information
Test Results:

Start 1: init-test
1/3 Test pytorch#1: init-test ......................... Passed    0.02
sec
Start 2: get-current-test
2/3 Test pytorch#2: get-current-test .................. Passed    0.02
sec
Start 3: power-features-test
3/3 Test pytorch#3: power-features-test ............... Passed    0.02
sec

100% tests passed, 0 tests failed out of 3
This pull request was closed.
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.

1 participant