diff options
author | MITSUNARI Shigeo <[email protected]> | 2018-02-14 04:59:04 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2018-02-14 04:59:04 +0900 |
commit | c0f885ac521c684e7e05d16f7b710fe7cd57e220 (patch) | |
tree | 028820922137f4be81abe1c7d956b4c70c2bbea5 | |
parent | fd587b55ca8f03f60cc14fa53448c04229dd2629 (diff) | |
parent | bfe2d201e61b6f6c351d8248db4c977ca7c962b7 (diff) | |
download | xbyak-c0f885ac521c684e7e05d16f7b710fe7cd57e220.tar.gz xbyak-c0f885ac521c684e7e05d16f7b710fe7cd57e220.zip |
Merge pull request #61 from mgouicem/master
Change default value for n_cores in setCacheHierarchy.
-rw-r--r-- | xbyak/xbyak_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbyak/xbyak_util.h b/xbyak/xbyak_util.h index 36fe3c0..ca02534 100644 --- a/xbyak/xbyak_util.h +++ b/xbyak/xbyak_util.h @@ -96,7 +96,7 @@ class Cpu { // const unsigned int INSTRUCTION_CACHE = 2; const unsigned int UNIFIED_CACHE = 3; unsigned int smt_width = 0; - unsigned int n_cores = 0; + unsigned int n_cores = (unsigned int) -1; unsigned int data[4]; /* |